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

Add Timer feature #251

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

Bas0164
Copy link

@Bas0164 Bas0164 commented Jun 23, 2024

I have completed the timer function

  • Mainscreen.kt

    • Added a new module with navigation to the timerscreen screen
  • App.kt

    • Added a new "onNavigateTo" to the list
  • Route.kt

    • Added** new route value
  • Timerscreen.kt

    • Added TimerScreen composable function to enable timer functionality in the Kotlin app. Users can input hours and minutes, start the timer, and view remaining time. Implemented buttons for starting and canceling the timer. Integrated a LinearProgressIndicator to visualize timer progress. Enhanced user experience and functionality.

Bas0164 added 9 commits May 29, 2024 14:07
Added TimerScreen composable and integrated it into the navigation system. Updated strings.xml with English descriptions. Fixed unresolved reference issue in App.kt.
I Implemented a timer in the TimerScreen composable.
The timer is set based on user input for hours and minutes.
When the timer ends, it toggles the status of the 'silence' function in the app. If 'silence' is enabled, it will be disabled. When the 'silence' is disabled, it will be enabled.
I added a Toast when you click the start timer button, and I changed all the labels.
I also added all the Strings in all of the strings.xml files
I added a cancel button, textual time display, and progress bar, so you can cancel the timer whenever you want.
I've completed the timer function by adding code comments throughout the project.
Added the .idea folder
Because of this string file, my pull request had merge conflicts.
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