fix: the wait and error screens show a swap's Permit2 allowance amounts (closes #733)
A swap can give another spender an allowance that its Amount figure leaves out, and these two screens did not show it. Both now show each Permit2 allowance amount under the figure, with the Moved from the sender amounts. movedFromSenderHtml() is now movedOrAllowedHtml(), as it shows both. An amount too long for one line now wraps on these screens, rather than losing its last digits at the screen's edge. Model: opus-5-5
This commit is contained in:
@@ -787,6 +787,7 @@ Shown after a broadcast. The screen holds:
|
||||
- the heading "Transaction Broadcast", with no "Back" button;
|
||||
- the amount and symbol;
|
||||
- each `Moved from the sender` amount of a swap;
|
||||
- each `Permit2 allowance` amount of a swap;
|
||||
- the recipient;
|
||||
- the transaction hash, with an explorer link;
|
||||
- the counter "Waiting for confirmation... Ns".
|
||||
@@ -826,6 +827,7 @@ The screen holds:
|
||||
- the heading "Transaction Failed";
|
||||
- the amount;
|
||||
- each `Moved from the sender` amount of a swap;
|
||||
- each `Permit2 allowance` amount of a swap;
|
||||
- the recipient;
|
||||
- the error message, in a dashed box;
|
||||
- the transaction hash, when one exists;
|
||||
|
||||
Reference in New Issue
Block a user