Skip to content

Commit 0e6d89e

Browse files
committed
Fix menu bar hiding
1 parent ef2564e commit 0e6d89e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/ui/containers/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ class App extends PureComponent {
564564

565565
_handleToggleMenuBar (hide) {
566566
for (const win of remote.BrowserWindow.getAllWindows()) {
567-
if (win.isMenuBarAutoHide() === hide) {
567+
if (win.isMenuBarAutoHide() !== hide) {
568568
win.setAutoHideMenuBar(hide);
569569
win.setMenuBarVisibility(!hide);
570570
}

0 commit comments

Comments
 (0)