1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-17 16:53:26 +00:00

lock page fixes

This commit is contained in:
Kyle Spearrin
2019-05-16 08:41:57 -04:00
parent 27b6631cc1
commit 5f6a3f4cb5
5 changed files with 26 additions and 5 deletions

View File

@@ -99,7 +99,7 @@ namespace Bit.Core.Services
{
_key = new SymmetricCryptoKey(Convert.FromBase64String(key));
}
return key == null ? null : _key;
return _key;
}
public async Task<string> GetKeyHashAsync()
@@ -108,12 +108,12 @@ namespace Bit.Core.Services
{
return _keyHash;
}
var keyHash = await _secureStorageService.GetAsync<string>(Keys_KeyHash);
var keyHash = await _storageService.GetAsync<string>(Keys_KeyHash);
if(keyHash != null)
{
_keyHash = keyHash;
}
return keyHash == null ? null : _keyHash;
return _keyHash;
}
public Task<SymmetricCryptoKey> GetEncKeyAsync()