1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-07-01 11:24:59 +02:00
bitwarden-mobile/src/App/Pages/Accounts/TwoFactorPage.xaml.cs

40 lines
777 B
C#
Raw Normal View History

2019-05-24 03:19:45 +02:00
using System;
using Xamarin.Forms;
namespace Bit.App.Pages
{
public partial class TwoFactorPage : BaseContentPage
{
private TwoFactorPageViewModel _vm;
public TwoFactorPage()
{
InitializeComponent();
_vm = BindingContext as TwoFactorPageViewModel;
_vm.Page = this;
}
protected override async void OnAppearing()
{
base.OnAppearing();
await _vm.InitAsync();
}
private void Continue_Clicked(object sender, EventArgs e)
{
if(DoOnce())
{
}
}
private void Methods_Clicked(object sender, EventArgs e)
{
if(DoOnce())
{
}
}
}
}