world clock: blink colon in low energy mode

This commit is contained in:
Joey Castillo 2025-05-28 23:43:13 -04:00
parent ad3f1e56ed
commit 9a712258f8

View File

@ -153,7 +153,10 @@ void world_clock_face_activate(void *context) {
state->current_screen = 0;
_update_timezone_offset(state);
if (watch_sleep_animation_is_running()) watch_stop_sleep_animation();
if (watch_sleep_animation_is_running()) {
watch_stop_sleep_animation();
watch_stop_blink();
}
}
static bool world_clock_face_do_display_mode(movement_event_t event, world_clock_state_t *state) {
@ -210,6 +213,7 @@ static bool world_clock_face_do_display_mode(movement_event_t event, world_clock
if (!watch_sleep_animation_is_running()) {
watch_display_text(WATCH_POSITION_SECONDS, " ");
watch_start_sleep_animation(500);
watch_start_indicator_blink_if_possible(WATCH_INDICATOR_COLON, 500);
}
} else {
watch_display_text(WATCH_POSITION_SECONDS, buf + 6);