Disable button clicks while waiting for EIP-712 APDU

This commit is contained in:
Alexandre Paillier
2022-11-08 18:06:32 +01:00
parent 912c8afca6
commit d4b4b5e830

View File

@@ -16,6 +16,10 @@ static void dummy_cb(void) {
ux_flow_prev();
ui_pos = UI_712_POS_REVIEW;
}
} else {
// 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;
}
}