Skip to content

Commit

Permalink
Merge pull request #222 from LedgerHQ/fix-processing
Browse files Browse the repository at this point in the history
Display: Fix processing screen not showing on nano devices
  • Loading branch information
bigspider authored Jan 29, 2024
2 parents 34fe636 + 323bf42 commit 3fb299d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ui/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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) {
Expand Down

0 comments on commit 3fb299d

Please sign in to comment.