Skip to content

Commit

Permalink
fix(tray): 🔧 Fix setter for tray-menu
Browse files Browse the repository at this point in the history
Signed-off-by: Nishant Arora <[email protected]>
  • Loading branch information
whizzzkid committed Aug 22, 2023
1 parent 87449b2 commit 4d5425a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tray.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ module.exports = async function () {
})

ipcMain.on(ipcMainEvents.CONFIG_UPDATED, () => { updateMenu() })
ipcMain.on(ipcMainEvents.LANG_UPDATED, async () => { await setupMenu() })
ipcMain.on(ipcMainEvents.LANG_UPDATED, () => { updateMenu() })

nativeTheme.on('updated', () => {
updateMenu()
Expand Down

0 comments on commit 4d5425a

Please sign in to comment.