mirror of
https://github.com/bitwarden/mobile.git
synced 2024-07-01 11:24:59 +02:00
40 lines
777 B
C#
40 lines
777 B
C#
|
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())
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|