What changed, and why it matters
This is a small UI fix in the buy/sell confirmation screen. It hides the 'payment method' row when a selected quote has no payment method title, preventing an empty or confusing label from appearing. There is no indication this is a security issue.
No security action needed. Treat as routine UI/UX fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit adds a conditional guard before rendering a ListItemRegularRow widget that displays the payment method. The guard checks whether buySellViewModel.selectedQuote!.paymentType.title is non-empty. If the title is null or empty, the row is not rendered. This is a defensive UI fix against empty payment method display.
Changed components
lib/new-ui/pages/buy_sell/buy_sell_confirmation_page.dartInspect captured patch +1 / −0
diff --git a/lib/new-ui/pages/buy_sell/buy_sell_confirmation_page.dart b/lib/new-ui/pages/buy_sell/buy_sell_confirmation_page.dart
index 88fafa07..851c3c26 100644
--- a/lib/new-ui/pages/buy_sell/buy_sell_confirmation_page.dart
+++ b/lib/new-ui/pages/buy_sell/buy_sell_confirmation_page.dart
@@ -86,6 +86,7 @@ class BuySellConfirmationPage extends StatelessWidget {
SizedBox.shrink()
],
)),
+ if(buySellViewModel.selectedQuote!.paymentType.title?.isNotEmpty ?? false)
ListItemRegularRow(
showArrow: false,
keyValue: "payment method",
Why this scored 19/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.