mirror of
https://github.com/bitwarden/mobile
synced 2025-12-16 00:03:22 +00:00
close buttons for ios
This commit is contained in:
@@ -21,6 +21,10 @@ namespace Bit.App.Pages
|
||||
PossibleFormats = new List<ZXing.BarcodeFormat> { ZXing.BarcodeFormat.QR_CODE },
|
||||
AutoRotate = false,
|
||||
};
|
||||
if(Device.RuntimePlatform == Device.Android)
|
||||
{
|
||||
ToolbarItems.RemoveAt(0);
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnAppearing()
|
||||
@@ -75,5 +79,13 @@ namespace Bit.App.Pages
|
||||
}
|
||||
_callback(null);
|
||||
}
|
||||
|
||||
private async void Close_Clicked(object sender, System.EventArgs e)
|
||||
{
|
||||
if(DoOnce())
|
||||
{
|
||||
await Navigation.PopModalAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user