feat: use token ticker in confirm send dialog if it's available
What changed, and why it matters
This commit is a minor user-interface improvement. It changes the transaction confirmation screen so that when sending a token, the token's short name (ticker) is shown in the desktop send-authorization widget instead of falling back to the main coin name. There is no security-relevant change visible in the code.
No security action needed. Treat as a normal UI/UX feature commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds a single optional tokenTicker parameter to the DesktopAuthSend widget call in confirm_transaction_view.dart. The value is unit when widget.isTokenTx is true, otherwise null. No authentication, validation, cryptographic, or network logic is modified.
Changed components
lib/pages/send_view/confirm_transaction_view.dartInspect captured patch +4 / −1
diff --git a/lib/pages/send_view/confirm_transaction_view.dart b/lib/pages/send_view/confirm_transaction_view.dart
index dfd6c98..b7d062f 100644
--- a/lib/pages/send_view/confirm_transaction_view.dart
+++ b/lib/pages/send_view/confirm_transaction_view.dart
@@ -1446,7 +1446,10 @@ class _ConfirmTransactionViewState
right: 32,
bottom: 32,
),
- child: DesktopAuthSend(coin: coin),
+ child: DesktopAuthSend(
+ coin: coin,
+ tokenTicker: widget.isTokenTx ? unit : null,
+ ),
),
],
),
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.