From daff2057a4298f2148254dd67fde6f4ddcb45481 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Wed, 13 Apr 2022 10:45:49 +0200 Subject: [PATCH] docs: note safeStorage.isEncryptionAvailable() needs ready event (#33738) Co-authored-by: Shelley Vohr --- docs/api/safe-storage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/safe-storage.md b/docs/api/safe-storage.md index d0a76ec87a..e96c18bbf0 100644 --- a/docs/api/safe-storage.md +++ b/docs/api/safe-storage.md @@ -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)`