From 323bf42cb9a49ef1f999de125e981bfde679c709 Mon Sep 17 00:00:00 2001 From: Sarah GLINER Date: Mon, 29 Jan 2024 12:16:37 +0100 Subject: [PATCH] Display: Fix processing screen not showing on nano devices --- src/ui/display.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ui/display.c b/src/ui/display.c index 8c6ce766e..cc3eb8643 100644 --- a/src/ui/display.c +++ b/src/ui/display.c @@ -14,6 +14,8 @@ // These globals are a workaround for a limitation of the UX library that // does not allow to pass proper callbacks and context. +extern bool G_was_processing_screen_shown; + static bool g_ux_flow_ended; static bool g_ux_flow_response; @@ -35,6 +37,8 @@ void set_ux_flow_response(bool approved) { // so that the dispatcher refreshes resets the UI at the end of the command handler. // Returns true/false depending if the user accepted in the corresponding UX flow. static bool io_ui_process(dispatcher_context_t *context, bool set_dirty) { + G_was_processing_screen_shown = false; + g_ux_flow_ended = false; if (set_dirty) {