mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
ios extension autofill fixes
This commit is contained in:
parent
7a5d25f2e3
commit
da847f6567
2 changed files with 5 additions and 2 deletions
|
@ -260,7 +260,10 @@ namespace Bit.iOS.Extension
|
|||
NSRunLoop.Main.BeginInvokeOnMainThread(() =>
|
||||
{
|
||||
Resolver.ResetResolver();
|
||||
ExtensionContext.CompleteRequest(returningItems, null);
|
||||
if(ExtensionContext != null)
|
||||
{
|
||||
ExtensionContext.CompleteRequest(returningItems, null);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace Bit.iOS.Extension.Models
|
|||
Totp = new Lazy<string>(() => login.Totp?.Decrypt(login.OrganizationId));
|
||||
Fields = new Lazy<List<Tuple<string, string>>>(() =>
|
||||
{
|
||||
if(login.Fields?.Any() ?? true)
|
||||
if(!login.Fields?.Any() ?? true)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue