From 3057ff01201cd552ab8f7052bd2810f1bf4b4e3c Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Tue, 12 Apr 2022 21:47:15 +0200 Subject: [PATCH] docs: note safeStorage.isEncryptionAvailable() needs ready event (#33724) --- 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)`