Always check if alarm should be played

This commit is contained in:
Admar Schoonen 2023-01-07 16:45:47 +01:00
parent 3f0d33c65c
commit d4418e63db
1 changed files with 2 additions and 1 deletions

View File

@ -354,7 +354,6 @@ class MyClockWidget(FloatLayout):
def update_clock(self):
self.hide_widget(self.ids["face"], False)
self.hide_widget(self.ids["hands"], False)
self.check_alarm()
"""
Redraw clock hands
"""
@ -403,6 +402,8 @@ class MyClockWidget(FloatLayout):
self.hide_widget(self.ids["settings_menu"], False)
def update_display(self, *args):
self.check_alarm()
# Hide all dynamic widgets; will be enabled when updating respecive view
self.hide_widget(self.ids["face"], True)
self.hide_widget(self.ids["hands"], True)