docs: note safeStorage.isEncryptionAvailable() needs ready event (#33738)

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
trop[bot]
2022-04-13 10:45:49 +02:00
committed by GitHub
parent 67f2f9e024
commit daff2057a4

View File

@@ -20,7 +20,7 @@ Returns `boolean` - Whether encryption is available.
On Linux, returns true if the secret key is
available. On MacOS, returns true if Keychain is available.
On Windows, returns true with no other preconditions.
On Windows, returns true once the app has emitted the `ready` event.
### `safeStorage.encryptString(plainText)`