1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-06-25 10:26:02 +02:00
bitwarden-mobile/src/App/Pages/Vault/PasswordHistoryPage.xaml.cs

27 lines
678 B
C#
Raw Normal View History

2019-05-02 20:53:45 +02:00
using System;
namespace Bit.App.Pages
{
public partial class PasswordHistoryPage : BaseContentPage
{
private PasswordHistoryPageViewModel _vm;
public PasswordHistoryPage(string cipherId)
{
InitializeComponent();
SetActivityIndicator();
_vm = BindingContext as PasswordHistoryPageViewModel;
_vm.Page = this;
_vm.CipherId = cipherId;
}
protected override async void OnAppearing()
{
base.OnAppearing();
await LoadOnAppearedAsync(_mainLayout, true, async () => {
await _vm.InitAsync();
});
}
}
}