mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 18:21:47 +00:00
fix(in-app-menu): panel should close with the window when it is closed
- fix #1389
This commit is contained in:
@ -39,7 +39,7 @@ const pluginEnabledMenu = (plugin: string, label = '', hasSubmenu = false, refre
|
||||
export const refreshMenu = (win: BrowserWindow) => {
|
||||
setApplicationMenu(win);
|
||||
if (inAppMenuActive) {
|
||||
win.webContents.send('refreshMenu');
|
||||
win.webContents.send('refresh-in-app-menu');
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user