mirror of
https://github.com/jely2002/youtube-dl-gui.git
synced 2021-11-01 22:46:21 +03:00
Fix multiple bugs with the global controls
This commit is contained in:
@@ -9,7 +9,7 @@ contextBridge.exposeInMainWorld(
|
||||
}
|
||||
},
|
||||
receive: (channel, cb) => {
|
||||
let validChannels = ["log", "toast", "maximized", "videoAction", "UIAction"];
|
||||
let validChannels = ["log", "toast", "maximized", "videoAction", "updateGlobalButtons"];
|
||||
if (validChannels.includes(channel)) {
|
||||
ipcRenderer.on(channel, (event, arg) => {
|
||||
cb(arg)
|
||||
|
||||
Reference in New Issue
Block a user