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) {
|
if (ui_pos == UI_712_POS_REVIEW) {
|
||||||
ux_flow_next();
|
ux_flow_next();
|
||||||
ui_pos = UI_712_POS_END;
|
ui_pos = UI_712_POS_END;
|
||||||
} else // UI_712_POS_END
|
} else {
|
||||||
{
|
// Keep user at the end of the flow
|
||||||
ux_flow_prev();
|
ux_flow_next();
|
||||||
ui_pos = UI_712_POS_REVIEW;
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case EIP712_FIELD_INCOMING:
|
case EIP712_FIELD_INCOMING:
|
||||||
|
|||||||
Reference in New Issue
Block a user