chore: update variable in notification logic
This commit is contained in:
parent
77eeb087e3
commit
84e95fdd93
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue