formatting fixes

This commit is contained in:
Kyle Spearrin 2020-06-07 11:54:14 -04:00
parent 473e93ea16
commit 4155f69e3c
2 changed files with 5 additions and 5 deletions

View File

@ -54,7 +54,7 @@ namespace Bit.iOS.Autofill
} }
_context.UrlString = uri; _context.UrlString = uri;
} }
if (! await IsAuthed()) if (!await IsAuthed())
{ {
LaunchLoginFlow(); LaunchLoginFlow();
} }
@ -78,7 +78,7 @@ namespace Bit.iOS.Autofill
public override async void ProvideCredentialWithoutUserInteraction(ASPasswordCredentialIdentity credentialIdentity) public override async void ProvideCredentialWithoutUserInteraction(ASPasswordCredentialIdentity credentialIdentity)
{ {
InitAppIfNeeded(); InitAppIfNeeded();
if (! await IsAuthed() || await IsLocked()) if (!await IsAuthed() || await IsLocked())
{ {
var err = new NSError(new NSString("ASExtensionErrorDomain"), var err = new NSError(new NSString("ASExtensionErrorDomain"),
Convert.ToInt32(ASExtensionErrorCode.UserInteractionRequired), null); Convert.ToInt32(ASExtensionErrorCode.UserInteractionRequired), null);
@ -92,7 +92,7 @@ namespace Bit.iOS.Autofill
public override async void PrepareInterfaceToProvideCredential(ASPasswordCredentialIdentity credentialIdentity) public override async void PrepareInterfaceToProvideCredential(ASPasswordCredentialIdentity credentialIdentity)
{ {
InitAppIfNeeded(); InitAppIfNeeded();
if (! await IsAuthed()) if (!await IsAuthed())
{ {
LaunchLoginFlow(); LaunchLoginFlow();
return; return;
@ -105,7 +105,7 @@ namespace Bit.iOS.Autofill
{ {
InitAppIfNeeded(); InitAppIfNeeded();
_context.Configuring = true; _context.Configuring = true;
if (! await IsAuthed()) if (!await IsAuthed())
{ {
LaunchLoginFlow(); LaunchLoginFlow();
return; return;

View File

@ -71,7 +71,7 @@ namespace Bit.iOS.Extension
PerformSegue("setupSegue", this); PerformSegue("setupSegue", this);
return; return;
} }
if (! await IsAuthed()) if (!await IsAuthed())
{ {
LaunchLoginFlow(); LaunchLoginFlow();
return; return;