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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user