Perform more cleanup when timer is closed

Signed-off-by: William Brawner <me@wbrawner.com>
This commit is contained in:
William Brawner 2020-11-03 08:00:17 -07:00
parent bc2219e0a9
commit 23ce8fb337

View file

@ -40,6 +40,9 @@ class TimerDataStore: ObservableObject {
func closeTimer() {
self.activeTimer = nil
self.timerCancellable?.cancel()
self.timerCancellable = nil
UIApplication.shared.isIdleTimerDisabled = false
}
func goBack() {