fix(shopinbit): various shopinbit ui fixes
What changed, and why it matters
This commit is a routine user-interface polish for the ShopinBit shopping feature. It tweaks text link font sizes, adjusts a country dropdown position so it no longer overlaps an input field, fixes checkbox alignment, and swaps a services icon from an outline to a solid version. There are no security-relevant changes.
No security action needed; treat as normal UI fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff contains only Flutter UI adjustments: fontSize changes on STextStyles.richLink TextSpans, DropdownStyleData offset changes from Offset(0, -10) to Offset(0, 0), Checkbox/SizedBox height changes and crossAxisAlignment/Padding adjustments, and SVG asset swaps from circleSliders to solidSliders. No logic, validation, cryptography, networking, permissions, or data-handling code is modified.
Changed components
lib/pages/more_view/services_view.dartlib/pages/shopinbit/shopinbit_payment_view.dartlib/pages/shopinbit/shopinbit_shipping_view.dartlib/pages/shopinbit/shopinbit_step_4.dartlib/pages/wallet_view/wallet_view.dartlib/pages_desktop_specific/desktop_menu_item.dartlib/pages_desktop_specific/more_view/sub_widgets/desktop_shopinbit_view.dartInspect captured patch +31 / −20
diff --git a/lib/pages/more_view/services_view.dart b/lib/pages/more_view/services_view.dart
index c85cdcb..ff17f7b 100644
--- a/lib/pages/more_view/services_view.dart
+++ b/lib/pages/more_view/services_view.dart
@@ -89,7 +89,9 @@ class _ServicesViewState extends State<ServicesView> {
),
TextSpan(
text: "Privacy Policy",
- style: STextStyles.richLink(dialogContext),
+ style: STextStyles.richLink(
+ dialogContext,
+ ).copyWith(fontSize: 16),
recognizer: TapGestureRecognizer()
..onTap = () async {
const url =
@@ -229,7 +231,7 @@ class _ServicesViewState extends State<ServicesView> {
text: "Terms & Conditions",
style: STextStyles.richLink(
context,
- ).copyWith(fontSize: 12),
+ ).copyWith(fontSize: 14),
recognizer: TapGestureRecognizer()
..onTap = () async {
const url =
@@ -249,7 +251,7 @@ class _ServicesViewState extends State<ServicesView> {
text: "Privacy Policy",
style: STextStyles.richLink(
context,
- ).copyWith(fontSize: 12),
+ ).copyWith(fontSize: 14),
recognizer: TapGestureRecognizer()
..onTap = () async {
const url =
diff --git a/lib/pages/shopinbit/shopinbit_payment_view.dart b/lib/pages/shopinbit/shopinbit_payment_view.dart
index fc0f0e8..c2726bb 100644
--- a/lib/pages/shopinbit/shopinbit_payment_view.dart
+++ b/lib/pages/shopinbit/shopinbit_payment_view.dart
@@ -691,7 +691,7 @@ class _ShopInBitPaymentViewState extends ConsumerState<ShopInBitPaymentView> {
children: [
SizedBox(
width: 20,
- height: 26,
+ height: 20,
child: IgnorePointer(
child: Checkbox(
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
diff --git a/lib/pages/shopinbit/shopinbit_shipping_view.dart b/lib/pages/shopinbit/shopinbit_shipping_view.dart
index 98b617b..7537efb 100644
--- a/lib/pages/shopinbit/shopinbit_shipping_view.dart
+++ b/lib/pages/shopinbit/shopinbit_shipping_view.dart
@@ -348,7 +348,7 @@ class _ShopInBitShippingViewState extends State<ShopInBitShippingView> {
),
),
dropdownStyleData: DropdownStyleData(
- offset: const Offset(0, -10),
+ offset: const Offset(0, 0),
elevation: 0,
maxHeight: 300,
decoration: BoxDecoration(
diff --git a/lib/pages/shopinbit/shopinbit_step_4.dart b/lib/pages/shopinbit/shopinbit_step_4.dart
index 3a83364..44e17d2 100644
--- a/lib/pages/shopinbit/shopinbit_step_4.dart
+++ b/lib/pages/shopinbit/shopinbit_step_4.dart
@@ -416,7 +416,7 @@ class _ShopInBitStep4State extends State<ShopInBitStep4> {
),
),
dropdownStyleData: DropdownStyleData(
- offset: const Offset(0, -10),
+ offset: const Offset(0, 0),
elevation: 0,
maxHeight: 300,
decoration: BoxDecoration(
@@ -471,16 +471,21 @@ class _ShopInBitStep4State extends State<ShopInBitStep4> {
child: Container(
color: Colors.transparent,
child: Row(
- crossAxisAlignment: CrossAxisAlignment.start,
+ crossAxisAlignment: isDesktop
+ ? CrossAxisAlignment.center
+ : CrossAxisAlignment.start,
children: [
- SizedBox(
- width: 20,
- height: 26,
- child: IgnorePointer(
- child: Checkbox(
- materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
- value: _privacyAccepted,
- onChanged: (_) {},
+ Padding(
+ padding: EdgeInsets.only(top: isDesktop ? 3 : 0),
+ child: SizedBox(
+ width: 20,
+ height: 20,
+ child: IgnorePointer(
+ child: Checkbox(
+ materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
+ value: _privacyAccepted,
+ onChanged: (_) {},
+ ),
),
),
),
@@ -499,7 +504,7 @@ class _ShopInBitStep4State extends State<ShopInBitStep4> {
text: "Privacy Policy",
style: STextStyles.richLink(
context,
- ).copyWith(fontSize: isDesktop ? 18 : null),
+ ).copyWith(fontSize: isDesktop ? 18 : 14),
recognizer: TapGestureRecognizer()
..onTap = () async {
const url =
diff --git a/lib/pages/wallet_view/wallet_view.dart b/lib/pages/wallet_view/wallet_view.dart
index 24e2e7b..8573b2a 100644
--- a/lib/pages/wallet_view/wallet_view.dart
+++ b/lib/pages/wallet_view/wallet_view.dart
@@ -1348,7 +1348,7 @@ class _WalletViewState extends ConsumerState<WalletView> {
WalletNavigationBarItemData(
label: "Services",
icon: SvgPicture.asset(
- Assets.svg.circleSliders,
+ Assets.svg.solidSliders,
height: 20,
width: 20,
color: Theme.of(
diff --git a/lib/pages_desktop_specific/desktop_menu_item.dart b/lib/pages_desktop_specific/desktop_menu_item.dart
index 2d3fd76..3decfae 100644
--- a/lib/pages_desktop_specific/desktop_menu_item.dart
+++ b/lib/pages_desktop_specific/desktop_menu_item.dart
@@ -98,7 +98,7 @@ class DesktopServicesIcon extends ConsumerWidget {
@override
Widget build(BuildContext context, WidgetRef ref) {
return SvgPicture.asset(
- Assets.svg.circleSliders,
+ Assets.svg.solidSliders,
width: 20,
height: 20,
color:
diff --git a/lib/pages_desktop_specific/more_view/sub_widgets/desktop_shopinbit_view.dart b/lib/pages_desktop_specific/more_view/sub_widgets/desktop_shopinbit_view.dart
index 2935704..5ee6bf4 100644
--- a/lib/pages_desktop_specific/more_view/sub_widgets/desktop_shopinbit_view.dart
+++ b/lib/pages_desktop_specific/more_view/sub_widgets/desktop_shopinbit_view.dart
@@ -205,7 +205,9 @@ class _DesktopServicesViewState extends ConsumerState<DesktopShopInBitView> {
),
TextSpan(
text: "Terms & Conditions",
- style: STextStyles.richLink(context),
+ style: STextStyles.richLink(
+ context,
+ ).copyWith(fontSize: 14),
recognizer: TapGestureRecognizer()
..onTap = () async {
const url =
@@ -225,7 +227,9 @@ class _DesktopServicesViewState extends ConsumerState<DesktopShopInBitView> {
const TextSpan(text: " and "),
TextSpan(
text: "Privacy Policy",
- style: STextStyles.richLink(context),
+ style: STextStyles.richLink(
+ context,
+ ).copyWith(fontSize: 14),
recognizer: TapGestureRecognizer()
..onTap = () async {
const url =
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.