2022-08-08 16:28:48 +02:00
|
|
|
|
using Xamarin.Forms;
|
2019-05-01 21:53:56 +02:00
|
|
|
|
|
|
|
|
|
namespace Bit.App.Pages
|
|
|
|
|
{
|
|
|
|
|
public partial class HintPage : BaseContentPage
|
|
|
|
|
{
|
|
|
|
|
private HintPageViewModel _vm;
|
|
|
|
|
|
|
|
|
|
public HintPage()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
_vm = BindingContext as HintPageViewModel;
|
|
|
|
|
_vm.Page = this;
|
2020-03-28 14:16:28 +01:00
|
|
|
|
if (Device.RuntimePlatform == Device.Android)
|
2019-06-12 03:31:51 +02:00
|
|
|
|
{
|
|
|
|
|
ToolbarItems.RemoveAt(0);
|
|
|
|
|
}
|
2019-05-01 21:53:56 +02:00
|
|
|
|
}
|
|
|
|
|
|
2019-06-05 05:16:57 +02:00
|
|
|
|
protected override void OnAppearing()
|
|
|
|
|
{
|
|
|
|
|
base.OnAppearing();
|
|
|
|
|
RequestFocus(_email);
|
|
|
|
|
}
|
|
|
|
|
|
2019-06-12 03:31:51 +02:00
|
|
|
|
private async void Close_Clicked(object sender, System.EventArgs e)
|
|
|
|
|
{
|
2020-03-28 14:16:28 +01:00
|
|
|
|
if (DoOnce())
|
2019-06-12 03:31:51 +02:00
|
|
|
|
{
|
|
|
|
|
await Navigation.PopModalAsync();
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-05-01 21:53:56 +02:00
|
|
|
|
}
|
|
|
|
|
}
|