Skip to content

Commit

Permalink
code refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Ewing [c] committed Aug 5, 2024
1 parent 4a1e0f4 commit 55f0c48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/js/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ chrome.runtime.onMessage.addListener(async (msg, sender, sendResponse) => {
chrome.runtime.sendMessage ( {type: 'tab-muted', muted: "true"});
break;
case "unmute-all":
await allTabMuteState(false);
chrome.runtime.sendMessage ( {type: 'tab-muted', muted: "false"});
break;
await allTabMuteState(false);
chrome.runtime.sendMessage ( {type: 'tab-muted', muted: "false"});
break;
case "adjust-level":
currTab = await getCurrentTab();
await updateTabVolume(currTab.id, msg.level);
Expand Down

0 comments on commit 55f0c48

Please sign in to comment.