Skip to content

Commit

Permalink
imp - Added Pomodoro homepage entry
Browse files Browse the repository at this point in the history
---

We've added the Pomodoro homepage entry for easier access.

---

Type: imp
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Jan 1, 2025
1 parent 8a2073f commit f988e35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/Nitrocid.Addons/Nitrocid.Extras.Timers/TimersInit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,15 @@ void IAddon.StopAddon()
ConfigTools.UnregisterBaseSetting(nameof(TimersConfig));
HomepageTools.UnregisterBuiltinAction("Timer");
HomepageTools.UnregisterBuiltinAction("Stopwatch");
HomepageTools.UnregisterBuiltinAction("Pomodoro");
}

void IAddon.FinalizeAddon()
{
// Add homepage entries
HomepageTools.RegisterBuiltinAction(/* Localizable */ "Timer", TimerScreen.OpenTimer);
HomepageTools.RegisterBuiltinAction(/* Localizable */ "Stopwatch", StopwatchScreen.OpenStopwatch);
HomepageTools.RegisterBuiltinAction(/* Localizable */ "Pomodoro", PomodoroScreen.OpenPomodoro);
}
}
}

0 comments on commit f988e35

Please sign in to comment.