Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix(ui): correctly isWinPlatformSupported flag
Browse files Browse the repository at this point in the history
  • Loading branch information
korhaliv committed Nov 7, 2019
1 parent 46d2794 commit ea0b045
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion renderer/components/Settings/SettingsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ea0b045

Please sign in to comment.