mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 02:31:45 +00:00
fix typo
This commit is contained in:
@ -51,10 +51,6 @@ module.exports = (winImport) => {
|
||||
|
||||
//set menu visibility on load
|
||||
win.webContents.on("did-finish-load", () => {
|
||||
if (calledFinishedLoad) {
|
||||
return;
|
||||
}
|
||||
calledFinishedLoad = true;
|
||||
// fix bug with menu not applying on start when no internet connection available
|
||||
setMenuVisibility(!config.get("options.hideMenu"));
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user