diff --git a/src/ui_bagl.c b/src/ui_bagl.c index 5f67bbbd..5a17fccb 100644 --- a/src/ui_bagl.c +++ b/src/ui_bagl.c @@ -69,6 +69,7 @@ uint8_t io_event(uint8_t channel) { switch (G_io_seproxyhal_spi_buffer[0]) { case SEPROXYHAL_TAG_BUTTON_PUSH_EVENT: + // Pressing any button will stop the low-cost display mode. ux_set_low_cost_display_mode(false); UX_BUTTON_PUSH_EVENT(G_io_seproxyhal_spi_buffer); break; @@ -80,6 +81,8 @@ uint8_t io_event(uint8_t channel) { } __attribute__((fallthrough)); case SEPROXYHAL_TAG_DISPLAY_PROCESSED_EVENT: + // As soon as something is newly displayed, the low-cost display mode stops. + ux_set_low_cost_display_mode(false); #ifdef HAVE_BAGL UX_DISPLAYED_EVENT({}); #endif // HAVE_BAGL diff --git a/test/snapshots/nanos/test_automatic_low_cost_screensaver/first_authorize_screen.png b/test/snapshots/nanos/test_automatic_low_cost_screensaver/first_authorize_screen.png index 34037194..4d1d8b6b 100644 Binary files a/test/snapshots/nanos/test_automatic_low_cost_screensaver/first_authorize_screen.png and b/test/snapshots/nanos/test_automatic_low_cost_screensaver/first_authorize_screen.png differ