Closed volkov closed 2 years ago
@klimeryk Hi Igor, I think this merge should be merged because non-updated time make us hard to keep track the current time when rest done.
Thank you for the PR, @volkov! I've tested this and it works great (and I appreciate re-using the existing timer!). I had to make a small adjustment. The idleCallback
was not being started in one case: when we restarted the pomodoro from the menu. That was a one line fix, though: https://github.com/klimeryk/garmodoro/blob/cc7a4775249198b7cacfcc757103cc355fc7991c/source/StopMenuDelegate.mc#L22
Had to make idleCallback
a global function as a result, though 🤷
Thanks again for the PR - I've amended your commit with the above changes and committed in https://github.com/klimeryk/garmodoro/commit/cc7a4775249198b7cacfcc757103cc355fc7991c (preserving you as the commit author, of course).
20