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

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

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)`