mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
web: add noop fallback methods in storage
This commit is contained in:
committed by
Abdullah Atta
parent
6e8610c358
commit
bc3e7c6a53
@@ -172,6 +172,17 @@ export class NNStorage implements IStorage {
|
||||
return key;
|
||||
}
|
||||
}
|
||||
|
||||
// noop
|
||||
generateCryptoKeyFallback(
|
||||
password: string,
|
||||
salt?: string
|
||||
): Promise<SerializedKey> {
|
||||
return this.generateCryptoKey(password, salt);
|
||||
}
|
||||
|
||||
// noop
|
||||
async deriveCryptoKeyFallback(): Promise<void> {}
|
||||
}
|
||||
|
||||
const dec = new TextDecoder();
|
||||
|
||||
Reference in New Issue
Block a user