activity log: clear animation when waking from sleep mode
This commit is contained in:
parent
56366199e7
commit
51e6d62a1b
@ -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;
|
state->display_index = (state->display_index + 1) % ACTIVITY_LOGGING_NUM_DAYS;
|
||||||
// fall through
|
// fall through
|
||||||
case EVENT_ACTIVATE:
|
case EVENT_ACTIVATE:
|
||||||
|
if (watch_sleep_animation_is_running()) {
|
||||||
|
watch_stop_sleep_animation();
|
||||||
|
}
|
||||||
_activity_logging_face_update_display(state);
|
_activity_logging_face_update_display(state);
|
||||||
break;
|
break;
|
||||||
case EVENT_BACKGROUND_TASK:
|
case EVENT_BACKGROUND_TASK:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user