mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-05 09:01:11 +01:00
Merge branch 'master' of github.com:bitwarden/mobile
This commit is contained in:
commit
225b8b8cd8
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user