1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-24 11:55:38 +01:00

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(