Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented optional pause/resume button in timer (#66) #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vijaykarthiktk
Copy link

Description:

This pull request implements the functionality discussed in issue #66, adding an optional pause/resume button to the timer. The pause/resume button is discreetly integrated within the timer ring. When enabled:

  • Clicking the button pauses the timer, displaying the elapsed time and stopping further counting.
  • Clicking again resumes the timer from the paused point.

When disabled, the timer behaves as usual without the button. A user setting allows enabling/disabling the pause/resume button functionality.

This functionality provides users with more control over the timer and improves the overall user experience.

The pull request includes discussions regarding the timer's behaviour after reaching the end while paused (e.g., keep elapsed time, reset to zero).

A video demonstrating the pause/resume button is attached:

Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-05-04.at.18.05.56.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant