Skip to content

Commit

Permalink
🕹 Prevent multiple worktime notifications
Browse files Browse the repository at this point in the history
Set app->runOnce to 0 instead of 1 to ensure that worktime notifications
are not triggered multiple times, addressing issue #55.
  • Loading branch information
gabrielzschmitz committed Jan 3, 2025
1 parent 01849ac commit 2d9f02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ void handleInputs(appData *app) {
if (WORKLOG == 1) writeToLog(app);
if (TIMERLOG == 1) endTimerLog(app);
app->menuPos = 1;
app->runOnce = 1;
app->runOnce = 0;
app->pausedTimer = 0;
app->currentMode = 0;
app->frameTimer = 0;
Expand Down

0 comments on commit 2d9f02a

Please sign in to comment.