mirror of
https://github.com/bitwarden/mobile
synced 2025-12-17 16:53:26 +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:
@@ -10,7 +10,9 @@ namespace Bit.iOS.Autofill
|
||||
{
|
||||
public SetupViewController(IntPtr handle)
|
||||
: base(handle)
|
||||
{ }
|
||||
{
|
||||
DismissModalAction = Cancel;
|
||||
}
|
||||
|
||||
public CredentialProviderViewController CPViewController { get; set; }
|
||||
|
||||
@@ -33,6 +35,11 @@ namespace Bit.iOS.Autofill
|
||||
}
|
||||
|
||||
partial void BackButton_Activated(UIBarButtonItem sender)
|
||||
{
|
||||
Cancel();
|
||||
}
|
||||
|
||||
private void Cancel()
|
||||
{
|
||||
CPViewController.CompleteRequest();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user