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

This commit is contained in:
Shelley Vohr 2022-04-12 21:47:15 +02:00 committed by GitHub
parent 48edb2c707
commit 3057ff0120
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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