From b8867b998ba3c556825bbebccf016ed0a7facb3d Mon Sep 17 00:00:00 2001 From: Alexey Padalko Date: Thu, 7 Nov 2019 13:46:50 +0200 Subject: [PATCH] fix(ui): correctly isWinPlatformSupported flag --- renderer/components/Settings/SettingsPage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/renderer/components/Settings/SettingsPage.js b/renderer/components/Settings/SettingsPage.js index 159bccc6799..d34135bbe6d 100644 --- a/renderer/components/Settings/SettingsPage.js +++ b/renderer/components/Settings/SettingsPage.js @@ -18,7 +18,8 @@ import PasswordPromptDialog from 'containers/Settings/PasswordPromptDialog' import PasswordSetDialog from 'containers/Settings/PasswordSetDialog' import messages from './messages' -const isSecurityPaneEnabled = window.Zap.getPlatform() !== 'win32' || config.isWinPlatformSupported +const isSecurityPaneEnabled = + window.Zap.getPlatform() !== 'win32' || config.secureStorage.isWinPlatformSupported const SettingsMenu = ({ group, setGroup, isLoggedIn, ...rest }) => { // Items accessible to unauthenticated users.