Bitwarden-app-android-iphon.../src/App/Pages/Accounts/HintPage.xaml.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
784 B
C#
Raw Normal View History

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;
if (Device.RuntimePlatform == Device.Android)
2019-06-12 03:31:51 +02:00
{
ToolbarItems.RemoveAt(0);
}
2019-05-01 21:53:56 +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)
{
if (DoOnce())
2019-06-12 03:31:51 +02:00
{
await Navigation.PopModalAsync();
}
}
2019-05-01 21:53:56 +02:00
}
}