Skip to content

Commit

Permalink
Fixed bug with update
Browse files Browse the repository at this point in the history
  • Loading branch information
getvictor committed Jun 30, 2024
1 parent e2e5274 commit 7f3238e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/popup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ chrome.storage.sync.get(null, (data) => {
const config = data as StoredConfig
checkbox.checked = !(config.mode?.id === "off")
const mode = config.mode ?? MODES[1]
void chrome.action.setIcon({ path: mode.icon })
void chrome.action.setIcon({ path: MODES[mode.index].icon })
const literals: string[] = config.literals ?? []

// Loop over NUMBER_OF_LITERALS elements and listen to each one.
Expand Down

0 comments on commit 7f3238e

Please sign in to comment.