Skip to content

Commit a933115

Browse files
committed
fix when did not get the lock
1 parent 370dc66 commit a933115

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

main.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -613,11 +613,10 @@ app.on('ready', () => {
613613
macOSFullscreenSolution(false);
614614
isDarkMode();
615615
settingsWinContextMenuSolution();
616+
if (store.get("tray-time") !== false && process.platform === "darwin")
617+
tray.setTitle(' ' + i18n.__('not-timing-tray'));
616618
}
617619

618-
if (store.get("tray-time") !== false && process.platform === "darwin")
619-
tray.setTitle(' ' + i18n.__('not-timing-tray'));
620-
621620
if (!store.has("predefined-tasks-created")) {
622621
store.set("predefined-tasks-created", true);
623622

0 commit comments

Comments
 (0)