fix: the wait and error screens show a swap's Moved from the sender amounts (closes #722)
A swap's Amount figure can leave out what its Moved from the sender lines take, so these screens could read as if less left the wallet than can have left. Both now show each of those amounts under the figure, using the decoded details they already receive. The error screen saves those details too, so a reopened popup keeps the lines. A saved record in another shape shows only the lines it can read. Model: opus-5-5
This commit is contained in:
@@ -786,6 +786,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;
|
||||
- the recipient;
|
||||
- the transaction hash, with an explorer link;
|
||||
- the counter "Waiting for confirmation... Ns".
|
||||
@@ -823,7 +824,9 @@ Shown when signing or a broadcast fails, or when a wait ends without a receipt.
|
||||
The screen holds:
|
||||
|
||||
- the heading "Transaction Failed";
|
||||
- the amount and the recipient;
|
||||
- the amount;
|
||||
- each `Moved from the sender` amount of a swap;
|
||||
- the recipient;
|
||||
- the error message, in a dashed box;
|
||||
- the transaction hash, when one exists;
|
||||
- a "Done" button that behaves as on SuccessTx.
|
||||
|
||||
Reference in New Issue
Block a user