mirror of
https://github.com/bitwarden/mobile
synced 2025-12-16 00:03:22 +00:00
return instead of else
This commit is contained in:
@@ -167,11 +167,9 @@ namespace Bit.iOS
|
||||
}
|
||||
await ASCredentialIdentityStore.SharedStore.SaveCredentialIdentitiesAsync(
|
||||
new ASPasswordCredentialIdentity[] { identity });
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
await ASHelpers.ReplaceAllIdentities(_cipherService);
|
||||
}
|
||||
await ASHelpers.ReplaceAllIdentities(_cipherService);
|
||||
});
|
||||
|
||||
MessagingCenter.Subscribe<Xamarin.Forms.Application, Cipher>(
|
||||
@@ -186,11 +184,9 @@ namespace Bit.iOS
|
||||
}
|
||||
await ASCredentialIdentityStore.SharedStore.RemoveCredentialIdentitiesAsync(
|
||||
new ASPasswordCredentialIdentity[] { identity });
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
await ASHelpers.ReplaceAllIdentities(_cipherService);
|
||||
}
|
||||
await ASHelpers.ReplaceAllIdentities(_cipherService);
|
||||
});
|
||||
|
||||
MessagingCenter.Subscribe<Xamarin.Forms.Application>(
|
||||
|
||||
Reference in New Issue
Block a user