mirror of
https://github.com/bitwarden/mobile
synced 2025-12-10 21:33:36 +00:00
close buttons for ios
This commit is contained in:
@@ -24,6 +24,10 @@ namespace Bit.App.Pages
|
||||
_vm = BindingContext as TwoFactorPageViewModel;
|
||||
_vm.Page = this;
|
||||
DuoWebView = _duoWebView;
|
||||
if(Device.RuntimePlatform == Device.Android)
|
||||
{
|
||||
ToolbarItems.RemoveAt(0);
|
||||
}
|
||||
}
|
||||
|
||||
public HybridWebView DuoWebView { get; set; }
|
||||
@@ -126,5 +130,13 @@ namespace Bit.App.Pages
|
||||
await _vm.SendEmailAsync(true, true);
|
||||
}
|
||||
}
|
||||
|
||||
private async void Close_Clicked(object sender, System.EventArgs e)
|
||||
{
|
||||
if(DoOnce())
|
||||
{
|
||||
await Navigation.PopModalAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user