feat(shopinbit): show a QR code for manual crypto payments
What changed, and why it matters
This commit adds a QR code display to a payment screen so users can scan an address with another wallet app instead of copying and pasting it. There is no security issue visible in the change.
No security action required. Routine code review is sufficient.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff imports a QR widget and renders it with the existing address value in ShopInBitPaymentView. The address is already shown and copyable; the change only presents the same data as a scannable QR code. No input handling, cryptography, network, or permission changes are introduced.
Changed components
lib/pages/shopinbit/shopinbit_payment_view.dartInspect captured patch +5 / −0
diff --git a/lib/pages/shopinbit/shopinbit_payment_view.dart b/lib/pages/shopinbit/shopinbit_payment_view.dart
index 5eba672..7e43601 100644
--- a/lib/pages/shopinbit/shopinbit_payment_view.dart
+++ b/lib/pages/shopinbit/shopinbit_payment_view.dart
@@ -23,6 +23,7 @@ import '../../widgets/desktop/desktop_dialog_close_button.dart';
import '../../widgets/desktop/primary_button.dart';
import '../../widgets/desktop/secondary_button.dart';
import '../../widgets/icon_widgets/copy_icon.dart';
+import '../../widgets/qr.dart';
import '../../widgets/rounded_white_container.dart';
import '../../widgets/stack_dialog.dart';
import 'shopinbit_payment_shared.dart';
@@ -287,6 +288,10 @@ class _ShopInBitPaymentViewState extends ConsumerState<ShopInBitPaymentView> {
children: [
Text("$ticker Payment", style: STextStyles.pageTitleH2(context)),
const SizedBox(height: 16),
+ Center(
+ child: QR(data: address, size: Util.isDesktop ? 200 : 180),
+ ),
+ const SizedBox(height: 16),
GestureDetector(
onTap: () {
Clipboard.setData(ClipboardData(text: address));
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.