Skip to content

Commit d4b4b5e

Browse files
Disable button clicks while waiting for EIP-712 APDU
1 parent 912c8af commit d4b4b5e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src_bagl/ui_flow_signMessage712.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ static void dummy_cb(void) {
1616
ux_flow_prev();
1717
ui_pos = UI_712_POS_REVIEW;
1818
}
19+
} else {
20+
// temporarily disable button clicks, they will be re-enabled as soon as new data
21+
// is received and the page is redrawn with ux_flow_init()
22+
G_ux.stack[0].button_push_callback = NULL;
1923
}
2024
}
2125

0 commit comments

Comments
 (0)