feat: update terminology from "Work" to "Focus"
- change "Work" to "Focus" in all occurences - update GoTomato version to v0.4.0
This commit is contained in:
parent
646f460e6a
commit
a121f01371
5 changed files with 10 additions and 10 deletions
|
@ -19,8 +19,8 @@ func desktopNotifications(pomodoro GoTomato.ServerMessage) {
|
|||
sessions := pomodoro.Settings.Sessions
|
||||
|
||||
switch mode {
|
||||
case "Work":
|
||||
duration = pomodoro.Settings.Work
|
||||
case "Focus":
|
||||
duration = pomodoro.Settings.Focus
|
||||
notification = fmt.Sprintf("Session %d/%d: %s %0.f minutes", session, sessions, mode, float32(duration)/60)
|
||||
case "ShortBreak":
|
||||
duration = pomodoro.Settings.ShortBreak
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue