1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-06 18:43:43 +00:00

[PM-2713] converting calls to new crypto service api

This commit is contained in:
Jacob Fink
2023-07-18 14:18:10 -04:00
parent 5ed567ab90
commit bdfe806846
5 changed files with 10 additions and 10 deletions

View File

@@ -449,12 +449,12 @@ namespace Bit.App.Pages
}
// TODO(Jake): Update to store UserKey
private async Task SetKeyAndContinueAsync(SymmetricCryptoKey key)
private async Task SetKeyAndContinueAsync(UserKey key)
{
var hasKey = await _cryptoService.HasKeyAsync();
var hasKey = await _cryptoService.HasUserKeyAsync();
if (!hasKey)
{
await _cryptoService.SetKeyAsync(key);
await _cryptoService.SetUserKeyAsync(key);
}
await DoContinueAsync();
}