mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
formatting
This commit is contained in:
parent
b0c6c09cea
commit
24304c2f55
1 changed files with 18 additions and 18 deletions
|
@ -26,8 +26,7 @@ namespace Bit.iOS.Autofill
|
|||
private IGoogleAnalyticsService _googleAnalyticsService;
|
||||
|
||||
public CredentialProviderViewController(IntPtr handle) : base(handle)
|
||||
{
|
||||
}
|
||||
{ }
|
||||
|
||||
public override void ViewDidLoad()
|
||||
{
|
||||
|
@ -101,7 +100,8 @@ namespace Bit.iOS.Autofill
|
|||
canGetCredentials = lockType == App.Enums.LockType.None;
|
||||
}
|
||||
|
||||
if(!canGetCredentials) {
|
||||
if(!canGetCredentials)
|
||||
{
|
||||
var err = new NSError(new NSString("ASExtensionErrorDomain"),
|
||||
Convert.ToInt32(ASExtensionErrorCode.UserInteractionRequired), null);
|
||||
ExtensionContext.CancelRequest(err);
|
||||
|
@ -216,7 +216,8 @@ namespace Bit.iOS.Autofill
|
|||
{
|
||||
DismissViewController(false, () =>
|
||||
{
|
||||
if(_context.CredentialIdentity != null) {
|
||||
if(_context.CredentialIdentity != null)
|
||||
{
|
||||
ProvideCredential();
|
||||
return;
|
||||
}
|
||||
|
@ -236,8 +237,7 @@ namespace Bit.iOS.Autofill
|
|||
return;
|
||||
}
|
||||
|
||||
CompleteRequest(
|
||||
cipher.Login.Username?.Decrypt(cipher.OrganizationId),
|
||||
CompleteRequest(cipher.Login.Username?.Decrypt(cipher.OrganizationId),
|
||||
cipher.Login.Password?.Decrypt(cipher.OrganizationId),
|
||||
cipher.Login.Totp?.Decrypt(cipher.OrganizationId));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue