diff --git a/src/iOS.Core/Services/KeyChainStorageService.cs b/src/iOS.Core/Services/KeyChainStorageService.cs index ace993d47..dbf7ecab6 100644 --- a/src/iOS.Core/Services/KeyChainStorageService.cs +++ b/src/iOS.Core/Services/KeyChainStorageService.cs @@ -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)); } }