From 9c6436fe52253acdaea4e293a08178cefb3608e5 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 b604198e233ee..564419be98446 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)`