bitwarden-android/src/App/Pages/Accounts/HintPage.xaml.cs

31 lines
633 B
C#
Raw Normal View History

2019-05-01 22:53:56 +03:00
using System;
namespace Bit.App.Pages
{
public partial class HintPage : BaseContentPage
{
private HintPageViewModel _vm;
public HintPage()
{
InitializeComponent();
_vm = BindingContext as HintPageViewModel;
_vm.Page = this;
}
protected override void OnAppearing()
{
base.OnAppearing();
RequestFocus(_email);
}
2019-05-01 22:53:56 +03:00
private async void Submit_Clicked(object sender, EventArgs e)
{
2019-05-07 06:30:54 +03:00
if(DoOnce())
{
await _vm.SubmitAsync();
}
2019-05-01 22:53:56 +03:00
}
}
}