1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-12-24 16:38:22 +01:00

Merge branch 'master' of github.com:bitwarden/mobile

This commit is contained in:
Kyle Spearrin 2018-09-21 12:45:16 -04:00
commit 225b8b8cd8

View File

@ -55,7 +55,6 @@ namespace Bit.iOS.Autofill
{
_context.ServiceIdentifiers = serviceIdentifiers;
_context.UrlString = serviceIdentifiers[0].Identifier;
base.PrepareCredentialList(serviceIdentifiers);
var authService = Resolver.Resolve<IAuthService>();
if(!authService.IsAuthenticated)
@ -89,8 +88,6 @@ namespace Bit.iOS.Autofill
public override void ProvideCredentialWithoutUserInteraction(ASPasswordCredentialIdentity credentialIdentity)
{
base.ProvideCredentialWithoutUserInteraction(credentialIdentity);
bool canGetCredentials = false;
var authService = Resolver.Resolve<IAuthService>();
if(authService.IsAuthenticated)
@ -104,7 +101,7 @@ namespace Bit.iOS.Autofill
{
var err = new NSError(new NSString("ASExtensionErrorDomain"),
Convert.ToInt32(ASExtensionErrorCode.UserInteractionRequired), null);
ExtensionContext.CancelRequest(err);
this.ExtensionContext.CancelRequest(err);
return;
}
_context.CredentialIdentity = credentialIdentity;
@ -146,7 +143,6 @@ namespace Bit.iOS.Autofill
public override void PrepareInterfaceForExtensionConfiguration()
{
base.PrepareInterfaceForExtensionConfiguration();
var authService = Resolver.Resolve<IAuthService>();
if(authService.IsAuthenticated)
{