Skip to content

Commit

Permalink
feat: webcontentsview extension ipcpromise
Browse files Browse the repository at this point in the history
  • Loading branch information
Venipa committed Nov 25, 2024
1 parent 6209845 commit 81c912f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/plugins/client/track-api-controls.plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const afterInit = () => {
const handler = trackControls[type];
if (!handler) return;
const playerApi = window.domUtils.playerApi();
window.api.sendToHost("track:control/response", type, handler(playerApi))
window.api.emit("track:control/response", type, handler(playerApi))
});
});
};

0 comments on commit 81c912f

Please sign in to comment.