dont need to check storage for lock options on get

This commit is contained in:
Kyle Spearrin 2018-07-27 21:52:09 -04:00
parent 6a8d2c305e
commit 2fcc3c51b8
1 changed files with 0 additions and 5 deletions

View File

@ -83,11 +83,6 @@ export class CryptoService implements CryptoServiceAbstraction {
return this.key;
}
const option = await this.storageService.get<number>(ConstantsService.lockOptionKey);
if (option != null) {
return null;
}
const key = await this.secureStorageService.get<string>(Keys.key);
if (key != null) {
this.key = new SymmetricCryptoKey(Utils.fromB64ToArray(key).buffer);