chore: update variable in notification logic

This commit is contained in:
Sebastian Mark 2024-10-24 22:33:11 +02:00
parent 77eeb087e3
commit 84e95fdd93

View file

@ -16,7 +16,7 @@ func DesktopNotifications() {
session := pomodoro.Session
sessions := pomodoro.PomodoroSettings.Sessions
switch pomodoro.Mode {
switch mode {
case "Work":
duration = pomodoro.PomodoroSettings.Work
notification = fmt.Sprintf("Session %d/%d: %s %0.f minutes", session, sessions, mode, float32(duration)/60)