formatting

This commit is contained in:
Kyle Spearrin 2018-09-21 11:25:44 -04:00
parent 0c8c216fba
commit f0a701e134
2 changed files with 4 additions and 3 deletions

View File

@ -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>());
}

View File

@ -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(