mirror of
https://github.com/bitwarden/android.git
synced 2025-01-10 02:07:33 +03:00
30 lines
633 B
C#
30 lines
633 B
C#
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);
|
|
}
|
|
|
|
private async void Submit_Clicked(object sender, EventArgs e)
|
|
{
|
|
if(DoOnce())
|
|
{
|
|
await _vm.SubmitAsync();
|
|
}
|
|
}
|
|
}
|
|
}
|