Always check if alarm should be played
This commit is contained in:
parent
3f0d33c65c
commit
d4418e63db
3
clock.py
3
clock.py
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue