alarm displayed within 12hours instead of 15min
This commit is contained in:
parent
7f0fd7c082
commit
cfe80ff3e5
@ -43,7 +43,7 @@ class AlarmPartProvider : PartProvider {
|
||||
send(0)
|
||||
} else {
|
||||
time.collectLatest {
|
||||
if (alarm > it + 15 * 60 * 1000) {
|
||||
if (alarm > it + 12 * 60 * 60 * 1000) {
|
||||
send(0)
|
||||
} else {
|
||||
send(60)
|
||||
|
||||
@ -32,5 +32,5 @@ Base components, you can only enable one of them at a time:
|
||||
Additionally, these conditional components are available:
|
||||
|
||||
- **Media**: show media controls, only when there are active media sessions
|
||||
- **Alarm**: show the remaining time to the next alarm, only if there is an alarm scheduled to ring within the next 15 minutes
|
||||
- **Alarm**: show the remaining time to the next alarm, only if there is an alarm scheduled to ring within the next 12 hours
|
||||
- **Battery**: shows the current battery level and remaining charging time, only if battery is charging or battery level is less than 15%
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user