Skip to content

Conversation

@notwithering
Copy link

I've taken a few hours out of my day to add a sleep timer to this app. I find it quite annoying that I needed another app to stop ChromaDoze after a few hours, so I decided I would give myself and everyone else the ease of the use that comes with an onboard sleep timer.

I have not used it for an extended period of time yet, tonight I'll try to use it for ~2 hours while I sleep to see if it's all good.

This should solve point 4 of #25, partially solve #10, solve #3, and also partially solve #1

@notwithering
Copy link
Author

Just woke up, the timer does not work while the screen is off. I'll try to fix it today.

@notwithering notwithering marked this pull request as draft November 17, 2024 13:17
@notwithering notwithering marked this pull request as ready for review November 17, 2024 16:10
@notwithering notwithering marked this pull request as draft November 17, 2024 16:18
@notwithering notwithering marked this pull request as ready for review November 17, 2024 16:26
@notwithering
Copy link
Author

Alright, this should be all good now. I attempted to add a fade out option but I'm not familiar enough with the project so I was unable to properly add it. I tried to hook into NoiseService and other classes but was never able to make it work correctly. I left an asset I quickly mocked up in the res, in commit 4a8d0a4 (later reverted) I also provided a change in timer_fragment.xml that added the option for fade out that may be used in the future.

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