From 51e6d62a1bf3bfeef94bed1e3b0ec308c35c6279 Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Sun, 18 May 2025 11:26:47 -0400 Subject: [PATCH] activity log: clear animation when waking from sleep mode --- watch-faces/sensor/activity_logging_face.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/watch-faces/sensor/activity_logging_face.c b/watch-faces/sensor/activity_logging_face.c index 25e9fd2f..dddbc5af 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: