mirror of
https://github.com/bitwarden/mobile
synced 2025-12-23 19:53:50 +00:00
close buttons for ios
This commit is contained in:
@@ -14,6 +14,10 @@ namespace Bit.App.Pages
|
||||
_vm.Page = this;
|
||||
_vm.Email = email;
|
||||
MasterPasswordEntry = _masterPassword;
|
||||
if(Device.RuntimePlatform == Device.Android)
|
||||
{
|
||||
ToolbarItems.RemoveAt(0);
|
||||
}
|
||||
|
||||
_email.ReturnType = ReturnType.Next;
|
||||
_email.ReturnCommand = new Command(() => _masterPassword.Focus());
|
||||
@@ -50,5 +54,13 @@ namespace Bit.App.Pages
|
||||
Navigation.PushModalAsync(new NavigationPage(new HintPage()));
|
||||
}
|
||||
}
|
||||
|
||||
private async void Close_Clicked(object sender, System.EventArgs e)
|
||||
{
|
||||
if(DoOnce())
|
||||
{
|
||||
await Navigation.PopModalAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user