From af6f6002ba2f490bc061f8d4b15d9ec5015f23e6 Mon Sep 17 00:00:00 2001 From: David Volovskiy Date: Sun, 18 Aug 2024 23:55:54 -0400 Subject: [PATCH] Fixed the bug of the text not resetting after a timeout --- movement/watch_faces/complication/wordle_face.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/movement/watch_faces/complication/wordle_face.c b/movement/watch_faces/complication/wordle_face.c index 59edb9d3..90cec69e 100644 --- a/movement/watch_faces/complication/wordle_face.c +++ b/movement/watch_faces/complication/wordle_face.c @@ -634,8 +634,11 @@ bool wordle_face_loop(movement_event_t event, movement_settings_t *settings, voi case EVENT_ACTIVATE: break; case EVENT_TIMEOUT: - if (state->curr_screen >= SCREEN_RESULT) + if (state->curr_screen >= SCREEN_RESULT) { + reset_incorrect_elements(state); + state->position = get_first_pos(state->word_elements_result); display_title(state); + } break; case EVENT_LOW_ENERGY_UPDATE: if (state->curr_screen != SCREEN_TITLE)