Skip to content

Commit

Permalink
add missing break statements
Browse files Browse the repository at this point in the history
  • Loading branch information
antheas committed Jul 24, 2024
1 parent 47e2182 commit 3f07fdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,13 @@ const createMainWindow = async () => {
mainWindow.webContents.executeJavaScript(
`window.electronUtils.setControllerApi(false);`
);
break;
case "unmute":
console.error(`Enabling built-in controller support.`);
mainWindow.webContents.executeJavaScript(
`window.electronUtils.setControllerApi(true);`
);
break;
case "open_qam_if_closed":
// Preopen qam when the qam button is pressed a second
// time to minimize delay
Expand Down

0 comments on commit 3f07fdd

Please sign in to comment.