1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-12 22:33:25 +00:00
Files
mobile/src/App/Controls/AccountViewCell/AccountViewCellViewModel.cs
2022-01-16 22:43:37 -05:00

32 lines
673 B
C#

using Bit.Core.Models.View;
using Bit.Core.Utilities;
namespace Bit.App.Controls
{
public class AccountViewCellViewModel : ExtendedViewModel
{
private AccountView _account;
public AccountViewCellViewModel(AccountView accountView)
{
Account = accountView;
}
public AccountView Account
{
get => _account;
set => SetProperty(ref _account, value);
}
public bool IsAccount
{
get => Account.IsAccount;
}
public string AuthStatusText
{
get => Account.AuthStatus.ToString();
}
}
}