mirror of
https://github.com/bitwarden/mobile
synced 2025-12-13 14:53:18 +00:00
Move extensioncontext parsing into ViewDidLoad due to lifecycle conflicts with Safari. Fixed typo with plain-text activation predicate.
This commit is contained in:
@@ -30,11 +30,6 @@ namespace Bit.iOS.Extension
|
||||
base.ViewDidLoad();
|
||||
View.BackgroundColor = UIColor.FromPatternImage(new UIImage("bg.png"));
|
||||
_context.ExtContext = ExtensionContext;
|
||||
}
|
||||
|
||||
public override void ViewDidAppear(bool animated)
|
||||
{
|
||||
base.ViewDidAppear(animated);
|
||||
|
||||
if(!Resolver.IsSet)
|
||||
{
|
||||
@@ -63,7 +58,11 @@ namespace Bit.iOS.Extension
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void ViewDidAppear(bool animated)
|
||||
{
|
||||
base.ViewDidAppear(animated);
|
||||
PerformSegue("seque", this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user