From d95711124989b8b898ded4fd8a140700a2abf3a0 Mon Sep 17 00:00:00 2001 From: kspearrin Date: Fri, 21 Sep 2018 12:00:07 -0400 Subject: [PATCH 1/2] remove base method calls --- src/iOS.Autofill/CredentialProviderViewController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/iOS.Autofill/CredentialProviderViewController.cs b/src/iOS.Autofill/CredentialProviderViewController.cs index f76a22a57..bdd1c15c7 100644 --- a/src/iOS.Autofill/CredentialProviderViewController.cs +++ b/src/iOS.Autofill/CredentialProviderViewController.cs @@ -89,7 +89,7 @@ namespace Bit.iOS.Autofill public override void ProvideCredentialWithoutUserInteraction(ASPasswordCredentialIdentity credentialIdentity) { - base.ProvideCredentialWithoutUserInteraction(credentialIdentity); + // base.ProvideCredentialWithoutUserInteraction(credentialIdentity); bool canGetCredentials = false; var authService = Resolver.Resolve(); @@ -104,7 +104,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; From cb2d133eb0f4875ff155a4311dca163d6fd2ad6e Mon Sep 17 00:00:00 2001 From: kspearrin Date: Fri, 21 Sep 2018 12:00:44 -0400 Subject: [PATCH 2/2] remove base calls --- src/iOS.Autofill/CredentialProviderViewController.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/iOS.Autofill/CredentialProviderViewController.cs b/src/iOS.Autofill/CredentialProviderViewController.cs index bdd1c15c7..4cf79f69c 100644 --- a/src/iOS.Autofill/CredentialProviderViewController.cs +++ b/src/iOS.Autofill/CredentialProviderViewController.cs @@ -55,7 +55,6 @@ namespace Bit.iOS.Autofill { _context.ServiceIdentifiers = serviceIdentifiers; _context.UrlString = serviceIdentifiers[0].Identifier; - base.PrepareCredentialList(serviceIdentifiers); var authService = Resolver.Resolve(); 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(); if(authService.IsAuthenticated) @@ -146,7 +143,6 @@ namespace Bit.iOS.Autofill public override void PrepareInterfaceForExtensionConfiguration() { - base.PrepareInterfaceForExtensionConfiguration(); var authService = Resolver.Resolve(); if (authService.IsAuthenticated) {