fix(shopinbit): make desktop ShopinBit settings scrollable and remove dividers
What changed, and why it matters
This commit is a minor user-interface fix for the desktop ShopinBit settings page. It wraps the settings content in a scrollable view so it fits on smaller screens and replaces visual divider lines with simple spacing. There is no security relevance.
No security action needed. Treat as a routine UI/UX fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change modifies a single Flutter Dart file. It replaces the top-level Column widget with a SingleChildScrollView containing a Column, and swaps two Divider widgets for SizedBox height spacers. No logic, cryptography, networking, permissions, or data-handling code is altered.
Changed components
lib/pages_desktop_specific/settings/settings_menu/shopinbit_settings.dartInspect captured patch +5 / −9
diff --git a/lib/pages_desktop_specific/settings/settings_menu/shopinbit_settings.dart b/lib/pages_desktop_specific/settings/settings_menu/shopinbit_settings.dart
index dc5a6c3..f311c9e 100644
--- a/lib/pages_desktop_specific/settings/settings_menu/shopinbit_settings.dart
+++ b/lib/pages_desktop_specific/settings/settings_menu/shopinbit_settings.dart
@@ -345,7 +345,8 @@ class _ShopInBitDesktopSettingsState
@override
Widget build(BuildContext context) {
- return Column(
+ return SingleChildScrollView(
+ child: Column(
children: [
Padding(
padding: const EdgeInsets.only(right: 30),
@@ -444,10 +445,7 @@ class _ShopInBitDesktopSettingsState
: "Generate new key",
onPressed: _generate,
),
- const Padding(
- padding: EdgeInsets.all(10.0),
- child: Divider(thickness: 0.5),
- ),
+ const SizedBox(height: 20),
Text(
"Restore key",
style: STextStyles.desktopTextSmall(context),
@@ -489,10 +487,7 @@ class _ShopInBitDesktopSettingsState
label: "Set key",
onPressed: _setManualKey,
),
- const Padding(
- padding: EdgeInsets.all(10.0),
- child: Divider(thickness: 0.5),
- ),
+ const SizedBox(height: 20),
Text(
"Display Name",
style: STextStyles.desktopTextSmall(context),
@@ -541,6 +536,7 @@ class _ShopInBitDesktopSettingsState
),
),
],
+ ),
);
}
}
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.