-
-
Notifications
You must be signed in to change notification settings - Fork 944
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
Alarm: Display the time until alarm, even if it is off #698
Alarm: Display the time until alarm, even if it is off #698
Conversation
Previously, if the alarm was turned off, when you pressed the information button, a message was displayed that the alarm was not set. The amount of time until the alarm is now displayed as well as if it is on. What for? Allows you to save two clicks on a button if you just need to see how much time is left before the alarm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the alarmTime member might not be needed anymore and could be replaced with the new function. What do you think?
616ee1e
to
25034cc
Compare
I agree, I just forgot to fix it 🙂 |
Looks good to me! |
I have been uaing this pr for some time, works fine and makes using the alarm for measuring time until something easier (don't have to turn alarm on every time). |
… is off Squashed commit of the following: commit 874e1af Author: Maxim Leshchenko <cnmaks90@gmail.com> Date: Wed Sep 29 20:22:58 2021 +0300 Sorry 😂 commit 25034cc Author: Maxim Leshchenko <cnmaks90@gmail.com> Date: Wed Sep 29 19:25:25 2021 +0300 Fixes based on code review commit 77bc346 Author: Maxim Leshchenko <cnmaks90@gmail.com> Date: Tue Sep 28 13:16:50 2021 +0300 Alarm: Display the time until alarm, even if it is off Previously, if the alarm was turned off, when you pressed the information button, a message was displayed that the alarm was not set. The amount of time until the alarm is now displayed as well as if it is on. What for? Allows you to save two clicks on a button if you just need to see how much time is left before the alarm
Will this PR be merged? |
Well at the moment it is based on quite an old revision of the |
@maksalees I'm sorry it's been a long time. Probably the reason why this hasn't been merged is that we're unsure about what's the preferred behaviour. Indeed rebasing this will allow us to take another look at this. |
I created a new rebased PR #1346 |
Previously, if the alarm was turned off, when you pressed the information button, a message was displayed that the alarm was not set. The amount of time until the alarm is now displayed as well as if it is on.
What for? Allows you to save two clicks on a button if you just need to see how much time is left before the alarm
Before
After