mirror of
https://github.com/bitwarden/mobile
synced 2025-12-21 02:33:36 +00:00
fix for stuck extension sheets when dismissed by swipe (#1117)
* fix for stuck extension sheets when dismissed by swipe * simplify dismiss action assignments
This commit is contained in:
@@ -13,6 +13,7 @@ namespace Bit.iOS.Extension
|
||||
: base(handle)
|
||||
{
|
||||
ModalPresentationStyle = UIModalPresentationStyle.FullScreen;
|
||||
DismissModalAction = Cancel;
|
||||
}
|
||||
|
||||
public Context Context { get; set; }
|
||||
@@ -37,6 +38,11 @@ namespace Bit.iOS.Extension
|
||||
}
|
||||
|
||||
partial void BackButton_Activated(UIBarButtonItem sender)
|
||||
{
|
||||
Cancel();
|
||||
}
|
||||
|
||||
private void Cancel()
|
||||
{
|
||||
LoadingController.CompleteRequest(null, null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user