Work around last EIP-712 review page being empty on Nanos when we come back to it after reaching the end of the flow
Introduced in ae486e9e53
This commit is contained in:
@@ -12,10 +12,9 @@ static void dummy_cb(void) {
|
||||
if (ui_pos == UI_712_POS_REVIEW) {
|
||||
ux_flow_next();
|
||||
ui_pos = UI_712_POS_END;
|
||||
} else // UI_712_POS_END
|
||||
{
|
||||
ux_flow_prev();
|
||||
ui_pos = UI_712_POS_REVIEW;
|
||||
} else {
|
||||
// Keep user at the end of the flow
|
||||
ux_flow_next();
|
||||
}
|
||||
break;
|
||||
case EIP712_FIELD_INCOMING:
|
||||
|
||||
Reference in New Issue
Block a user