mirror of
https://github.com/joeycastillo/second-movement.git
synced 2025-10-29 19:47:40 +00:00
world clock: blink colon in low energy mode
This commit is contained in:
parent
ad3f1e56ed
commit
9a712258f8
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user