voltage and temperature: clear sleep animation on activate
This commit is contained in:
parent
da82469576
commit
540222e949
@ -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;
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user