]> git.earman.xyz Git - sensor-watch.git/commitdiff
world clock: bugfix, clear seconds when entering LE mode
authorJoey Castillo <joeycastillo@utexas.edu>
Mon, 28 Apr 2025 22:29:37 +0000 (18:29 -0400)
committerJoey Castillo <joeycastillo@utexas.edu>
Mon, 28 Apr 2025 22:32:46 +0000 (18:32 -0400)
watch-faces/clock/world_clock_face.c

index 356f9437f65f81e4f4db496b3a5e8ccc44d83ba9..dadf755ec4905e18936735a7c2563c05c804394c 100644 (file)
@@ -207,7 +207,10 @@ 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_sleep_animation_is_running()) watch_start_sleep_animation(500);
+                    if (!watch_sleep_animation_is_running()) {
+                        watch_display_text(WATCH_POSITION_SECONDS, "  ");
+                        watch_start_sleep_animation(500);
+                    }
                 } else {
                     watch_display_text(WATCH_POSITION_SECONDS, buf + 6);
                 }