mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
update widget at toggling an alarm
This commit is contained in:
@ -60,6 +60,7 @@ class MyWidgetDateTimeProvider : AppWidgetProvider() {
|
||||
|
||||
val nextAlarm = getFormattedNextAlarm(context)
|
||||
setVisibleIf(R.id.widget_next_alarm, nextAlarm.isNotEmpty())
|
||||
setVisibleIf(R.id.widget_next_alarm_image, nextAlarm.isNotEmpty())
|
||||
setText(R.id.widget_next_alarm, nextAlarm)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user