Skip to content

Commit 285fa07

Browse files
committed
Clear snooze icon on exit
1 parent 4d77ff6 commit 285fa07

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

PyPortal_AlarmClock/code.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,11 @@ def enter(self):
318318
board.DISPLAY.wait_for_frame()
319319

320320

321+
def exit(self):
322+
super().exit()
323+
for _ in range(len(self.snooze_icon)):
324+
self.snooze_icon.pop()
325+
321326

322327
class Mugsy_State(Time_State):
323328
"""This state tells Mugsey 'Make me a coffee' """

0 commit comments

Comments
 (0)