adjust button wording to reflect functionality
What changed, and why it matters
This commit simply renames a button label from 'Decline' to 'Cancel' on a shopping offer screen so the text matches what the button actually does (close the screen). There is no security relevance.
No security action needed; this is a cosmetic UI wording fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
A single Dart file in the Stack Wallet Flutter app had a SecondaryButton label changed from ‘Decline’ to ‘Cancel’. The onPressed handler only calls Navigator.of(context).pop(), which dismisses the current view. No logic, validation, navigation target, or data handling changed.
Changed components
lib/pages/shopinbit/shopinbit_offer_view.dartInspect captured patch +1 / −1
diff --git a/lib/pages/shopinbit/shopinbit_offer_view.dart b/lib/pages/shopinbit/shopinbit_offer_view.dart
index e6af547..4733fe7 100644
--- a/lib/pages/shopinbit/shopinbit_offer_view.dart
+++ b/lib/pages/shopinbit/shopinbit_offer_view.dart
@@ -202,7 +202,7 @@ class _ShopInBitOfferViewState extends ConsumerState<ShopInBitOfferView> {
},
),
SecondaryButton(
- label: "Decline",
+ label: "Cancel",
buttonHeight: Util.isDesktop ? ButtonHeight.l : null,
onPressed: () {
Navigator.of(context).pop();
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.