From: Joey Castillo Date: Sun, 18 May 2025 15:26:47 +0000 (-0400) Subject: activity log: clear animation when waking from sleep mode X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=51e6d62a1bf3bfeef94bed1e3b0ec308c35c6279;p=sensor-watch.git activity log: clear animation when waking from sleep mode --- diff --git a/watch-faces/sensor/activity_logging_face.c b/watch-faces/sensor/activity_logging_face.c index 25e9fd2..dddbc5a 100644 --- a/watch-faces/sensor/activity_logging_face.c +++ b/watch-faces/sensor/activity_logging_face.c @@ -88,6 +88,9 @@ bool activity_logging_face_loop(movement_event_t event, void *context) { state->display_index = (state->display_index + 1) % ACTIVITY_LOGGING_NUM_DAYS; // fall through case EVENT_ACTIVATE: + if (watch_sleep_animation_is_running()) { + watch_stop_sleep_animation(); + } _activity_logging_face_update_display(state); break; case EVENT_BACKGROUND_TASK: