diff --git a/internal/notifications/desktop.go b/internal/notifications/desktop.go index 417de71..5f35efd 100644 --- a/internal/notifications/desktop.go +++ b/internal/notifications/desktop.go @@ -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)