mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-24 11:55:38 +01:00
formatting
This commit is contained in:
parent
0c8c216fba
commit
f0a701e134
@ -148,7 +148,7 @@ namespace Bit.iOS.Autofill
|
|||||||
{
|
{
|
||||||
base.PrepareInterfaceForExtensionConfiguration();
|
base.PrepareInterfaceForExtensionConfiguration();
|
||||||
var authService = Resolver.Resolve<IAuthService>();
|
var authService = Resolver.Resolve<IAuthService>();
|
||||||
if (authService.IsAuthenticated)
|
if(authService.IsAuthenticated)
|
||||||
{
|
{
|
||||||
var task = ASHelpers.ReplaceAllIdentities(Resolver.Resolve<ICipherService>());
|
var task = ASHelpers.ReplaceAllIdentities(Resolver.Resolve<ICipherService>());
|
||||||
}
|
}
|
||||||
|
@ -158,10 +158,11 @@ namespace Bit.iOS
|
|||||||
MessagingCenter.Subscribe<Xamarin.Forms.Application, string>(
|
MessagingCenter.Subscribe<Xamarin.Forms.Application, string>(
|
||||||
Xamarin.Forms.Application.Current, "UpsertedCipher", async (sender, id) =>
|
Xamarin.Forms.Application.Current, "UpsertedCipher", async (sender, id) =>
|
||||||
{
|
{
|
||||||
if (await ASHelpers.IdentitiesCanIncremental())
|
if(await ASHelpers.IdentitiesCanIncremental())
|
||||||
{
|
{
|
||||||
var identity = await ASHelpers.GetCipherIdentityAsync(id, _cipherService);
|
var identity = await ASHelpers.GetCipherIdentityAsync(id, _cipherService);
|
||||||
if(identity == null) {
|
if(identity == null)
|
||||||
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
await ASCredentialIdentityStore.SharedStore.SaveCredentialIdentitiesAsync(
|
await ASCredentialIdentityStore.SharedStore.SaveCredentialIdentitiesAsync(
|
||||||
|
Loading…
Reference in New Issue
Block a user