Skip to content

Commit

Permalink
fix: minutes not seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
abenz1267 committed Feb 29, 2024
1 parent f42e341 commit 1f1a6cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func watch() {
pCount = 1

data = append(data, Reminder{
Time: now.Add(time.Second * 25),
Time: now.Add(time.Minute * 25),
Message: BreakMsg,
IsPomodoro: true,
PomodoroNum: pNum,
Expand All @@ -132,7 +132,7 @@ func watch() {
}

data = append(data, Reminder{
Time: now.Add(time.Second * time.Duration(pause)),
Time: now.Add(time.Minute * time.Duration(pause)),
Message: BreakFinishedMsg,
IsPomodoro: true,
PomodoroNum: v.PomodoroNum,
Expand All @@ -149,7 +149,7 @@ func watch() {
}

data = append(data, Reminder{
Time: now.Add(time.Second * 25),
Time: now.Add(time.Minute * 25),
Message: BreakMsg,
IsPomodoro: true,
PomodoroNum: v.PomodoroNum,
Expand Down

0 comments on commit 1f1a6cf

Please sign in to comment.