mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
dont return if no identity
This commit is contained in:
parent
9c2a6da692
commit
2d687c98df
1 changed files with 3 additions and 4 deletions
|
@ -176,12 +176,11 @@ namespace Bit.iOS.Core.Controllers
|
|||
if (await ASHelpers.IdentitiesCanIncremental())
|
||||
{
|
||||
var identity = await ASHelpers.GetCipherIdentityAsync(saveTask.Result.Result.Id, _cipherService);
|
||||
if (identity == null)
|
||||
if (identity != null)
|
||||
{
|
||||
return;
|
||||
await ASCredentialIdentityStore.SharedStore.SaveCredentialIdentitiesAsync(
|
||||
new ASPasswordCredentialIdentity[] { identity });
|
||||
}
|
||||
await ASCredentialIdentityStore.SharedStore.SaveCredentialIdentitiesAsync(
|
||||
new ASPasswordCredentialIdentity[] { identity });
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue