From 32bff3e0d02f38379e39a5fdd30933ed6b8548f9 Mon Sep 17 00:00:00 2001 From: Alexandre Paillier Date: Mon, 20 Feb 2023 16:37:22 +0100 Subject: [PATCH] Disable button clicks before getting the new EIP-191 data, not after --- src_bagl/ui_flow_signMessage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src_bagl/ui_flow_signMessage.c b/src_bagl/ui_flow_signMessage.c index e1eed03..3c2a75a 100644 --- a/src_bagl/ui_flow_signMessage.c +++ b/src_bagl/ui_flow_signMessage.c @@ -18,10 +18,10 @@ static void dummy_pre_cb(void) { static void dummy_post_cb(void) { if (ui_pos == UI_191_POS_QUESTION) { - continue_displaying_message(); // temporarily disable button clicks, they will be re-enabled as soon as new data // is received and the page is redrawn with ux_flow_init() G_ux.stack[0].button_push_callback = NULL; + continue_displaying_message(); } else // UI_191_END { ui_191_switch_to_message_end();