1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-23 11:45:38 +01:00

ios extension autofill fixes

This commit is contained in:
Kyle Spearrin 2017-09-28 22:54:46 -04:00
parent 7a5d25f2e3
commit da847f6567
2 changed files with 5 additions and 2 deletions

View File

@ -260,7 +260,10 @@ namespace Bit.iOS.Extension
NSRunLoop.Main.BeginInvokeOnMainThread(() => NSRunLoop.Main.BeginInvokeOnMainThread(() =>
{ {
Resolver.ResetResolver(); Resolver.ResetResolver();
if(ExtensionContext != null)
{
ExtensionContext.CompleteRequest(returningItems, null); ExtensionContext.CompleteRequest(returningItems, null);
}
}); });
}); });
} }

View File

@ -17,7 +17,7 @@ namespace Bit.iOS.Extension.Models
Totp = new Lazy<string>(() => login.Totp?.Decrypt(login.OrganizationId)); Totp = new Lazy<string>(() => login.Totp?.Decrypt(login.OrganizationId));
Fields = new Lazy<List<Tuple<string, string>>>(() => Fields = new Lazy<List<Tuple<string, string>>>(() =>
{ {
if(login.Fields?.Any() ?? true) if(!login.Fields?.Any() ?? true)
{ {
return null; return null;
} }