fix double key formatting

This commit is contained in:
Kyle Spearrin 2019-06-24 16:51:54 -04:00
parent c9d1e8dc65
commit 4bc837509d

View file

@ -76,7 +76,7 @@ namespace Bit.iOS.Core.Services
using(var data = NSData.FromArray(dataBytes))
using(var newRecord = GetKeyRecord(formattedKey, data))
{
await RemoveAsync(formattedKey);
await RemoveAsync(key);
CheckError(SecKeyChain.Add(newRecord));
}
}