1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

Account switching

This commit is contained in:
Matt Portune
2022-01-16 22:43:37 -05:00
parent 86397a6f1e
commit ebae2585f6
129 changed files with 3883 additions and 1265 deletions

View File

@@ -0,0 +1,31 @@
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();
}
}
}