voltage and temperature: clear sleep animation on activate

This commit is contained in:
Joey Castillo 2025-05-20 23:36:20 -04:00
parent da82469576
commit 540222e949
2 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,7 @@ bool temperature_display_face_loop(movement_event_t event, void *context) {
movement_move_to_next_face();
return false;
}
if (watch_sleep_animation_is_running()) watch_stop_sleep_animation();
watch_display_text_with_fallback(WATCH_POSITION_TOP, "TEMP", "TE");
// force a measurement to be taken immediately.
date_time.unit.second = 0;

View File

@ -50,6 +50,7 @@ bool voltage_face_loop(movement_event_t event, void *context) {
watch_date_time_t date_time;
switch (event.event_type) {
case EVENT_ACTIVATE:
if (watch_sleep_animation_is_running()) watch_stop_sleep_animation();
_voltage_face_update_display();
break;
case EVENT_TICK: