tick_animation is now sleep_animation (which just displays an indicator on new LCD)
This commit is contained in:
@@ -56,7 +56,7 @@ void world_clock_face_activate(void *context) {
|
||||
state->current_screen = 0;
|
||||
_update_timezone_offset(state);
|
||||
|
||||
if (watch_tick_animation_is_running()) watch_stop_tick_animation();
|
||||
if (watch_sleep_animation_is_running()) watch_stop_sleep_animation();
|
||||
}
|
||||
|
||||
static bool world_clock_face_do_display_mode(movement_event_t event, world_clock_state_t *state) {
|
||||
@@ -108,7 +108,7 @@ static bool world_clock_face_do_display_mode(movement_event_t event, world_clock
|
||||
watch_display_text(WATCH_POSITION_HOURS, buf + 2);
|
||||
watch_display_text(WATCH_POSITION_MINUTES, buf + 4);
|
||||
if (event.event_type == EVENT_LOW_ENERGY_UPDATE) {
|
||||
if (!watch_tick_animation_is_running()) watch_start_tick_animation(500);
|
||||
if (!watch_sleep_animation_is_running()) watch_start_sleep_animation(500);
|
||||
} else {
|
||||
watch_display_text(WATCH_POSITION_SECONDS, buf + 6);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user