]> git.earman.xyz Git - sensor-watch.git/commitdiff
Fixed win/lose text
authorDavid Volovskiy <devolov@gmail.com>
Sat, 16 Aug 2025 15:33:33 +0000 (11:33 -0400)
committerDavid Volovskiy <devolov@gmail.com>
Sat, 16 Aug 2025 15:33:33 +0000 (11:33 -0400)
watch-faces/complication/wordle_face.c

index c3a2e69a82ccc830950114d1b25d5a6f05d159e9..3ea9981b9b393143e9f36dadc080af9492fd928f 100644 (file)
@@ -321,15 +321,17 @@ static uint32_t get_day_unix_time(void) {
 static void display_lose(wordle_state_t *state, uint8_t subsecond) {
     char buf[10];
     sprintf(buf," %s", subsecond % 2 ? _valid_words[state->curr_answer] : "     ");
-    watch_display_text(WATCH_POSITION_TOP, "L   ");
+    watch_display_text(WATCH_POSITION_TOP_RIGHT, "  ");
+    watch_display_text_with_fallback(WATCH_POSITION_TOP, "LOSE", "L ");
     watch_display_text(WATCH_POSITION_BOTTOM, buf);
 }
 
 static void display_win(wordle_state_t *state, uint8_t subsecond) {
     (void) state;
     char buf[10];
-    sprintf(buf," %s  ", subsecond % 2 ? "NICE" : "JOb ");
-    watch_display_text(WATCH_POSITION_TOP, "W   ");
+    sprintf(buf," %s ", subsecond % 2 ? "NICE" : "JOb ");
+    watch_display_text(WATCH_POSITION_TOP_RIGHT, "  ");
+    watch_display_text_with_fallback(WATCH_POSITION_TOP_LEFT, "WIN", "W ");
     watch_display_text(WATCH_POSITION_BOTTOM, buf);
 }