mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-20 14:42:05 +00:00
lint
This commit is contained in:
4
index.js
4
index.js
@ -350,8 +350,8 @@ app.on("ready", () => {
|
||||
|
||||
if (config.get("options.hideMenu") && !config.get("options.hideMenuWarned")) {
|
||||
electron.dialog.showMessageBox(mainWindow, {
|
||||
type: 'info',
|
||||
title: 'Hide Menu Enabled', message: "Menu is hidden, use 'Alt' to show it (or 'Escape' if using in-app-menu)"
|
||||
type: 'info', title: 'Hide Menu Enabled',
|
||||
message: "Menu is hidden, use 'Alt' to show it (or 'Escape' if using in-app-menu)"
|
||||
});
|
||||
config.set("options.hideMenuWarned", true);
|
||||
}
|
||||
|
||||
5
menu.js
5
menu.js
@ -97,8 +97,9 @@ const mainMenuTemplate = (win) => {
|
||||
config.set("options.hideMenu", item.checked);
|
||||
if (item.checked && !config.get("options.hideMenuWarned")) {
|
||||
dialog.showMessageBox(win, {
|
||||
type: 'info',
|
||||
title: 'Hide Menu Enabled', message: "Menu will be hidden on next launch, use 'Alt' to show it (or 'Escape' if using in-app-menu)"});
|
||||
type: 'info', title: 'Hide Menu Enabled',
|
||||
message: "Menu will be hidden on next launch, use 'Alt' to show it (or 'Escape' if using in-app-menu)"
|
||||
});
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user