You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I think .getDuration() should always return the actual remaining time, whether it's running or being paused. By the way it'd be also great to see a corresponding method with time passed, not only duration left.
The text was updated successfully, but these errors were encountered:
Made appropriate changes to getDuration(). Now it'll return time when timer is started or paused, but 0 when it wasn't started or already stopped.
As of get elapsed time, feel free to add this via PR.
Hi, I think .getDuration() should always return the actual remaining time, whether it's running or being paused. By the way it'd be also great to see a corresponding method with time passed, not only duration left.
The text was updated successfully, but these errors were encountered: