mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
formatting
This commit is contained in:
parent
0c8c216fba
commit
f0a701e134
2 changed files with 4 additions and 3 deletions
|
@ -148,7 +148,7 @@ namespace Bit.iOS.Autofill
|
|||
{
|
||||
base.PrepareInterfaceForExtensionConfiguration();
|
||||
var authService = Resolver.Resolve<IAuthService>();
|
||||
if (authService.IsAuthenticated)
|
||||
if(authService.IsAuthenticated)
|
||||
{
|
||||
var task = ASHelpers.ReplaceAllIdentities(Resolver.Resolve<ICipherService>());
|
||||
}
|
||||
|
|
|
@ -158,10 +158,11 @@ namespace Bit.iOS
|
|||
MessagingCenter.Subscribe<Xamarin.Forms.Application, string>(
|
||||
Xamarin.Forms.Application.Current, "UpsertedCipher", async (sender, id) =>
|
||||
{
|
||||
if (await ASHelpers.IdentitiesCanIncremental())
|
||||
if(await ASHelpers.IdentitiesCanIncremental())
|
||||
{
|
||||
var identity = await ASHelpers.GetCipherIdentityAsync(id, _cipherService);
|
||||
if(identity == null) {
|
||||
if(identity == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
await ASCredentialIdentityStore.SharedStore.SaveCredentialIdentitiesAsync(
|
||||
|
|
Loading…
Reference in a new issue