mirror of
https://github.com/bitwarden/mobile
synced 2025-12-12 22:33:25 +00:00
32 lines
673 B
C#
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();
|
|
}
|
|
}
|
|
}
|