Skip to content

Commit

Permalink
Fix Pause/Resume enable/disable
Browse files Browse the repository at this point in the history
  • Loading branch information
kristopherjohnson committed Oct 29, 2019
1 parent 2255645 commit 4dc3e07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MenubarCountdown/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele

isTimerRunning = true
canPause = true
canResume = true
canResume = false
stopwatch.reset()

updateStatusItemTitle(timeRemaining: timerSettingSeconds)
Expand Down Expand Up @@ -470,7 +470,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
DTraceResumeTimer(Int32(secondsRemaining))

isTimerRunning = true
canPause = false
canPause = true
canResume = false

timerSettingSeconds = secondsRemaining
Expand Down

0 comments on commit 4dc3e07

Please sign in to comment.