Skip to content

Commit

Permalink
Fix exception autoHideMenuBar is not a function
Browse files Browse the repository at this point in the history
  • Loading branch information
cstayyab committed May 20, 2020
1 parent d5b344c commit 66bf7fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ const settingsMenu = [{
} else {
win.setMenuBarVisibility(true);
}
win.autoHideMenuBar(menuItem.checked);
win.autoHideMenuBar = menuItem.checked;
}
}];
const windowMenu = [{
Expand Down

0 comments on commit 66bf7fe

Please sign in to comment.