From 929c5f324969ef45f9077b8c42e9bfb8a77be041 Mon Sep 17 00:00:00 2001 From: zarzet Date: Mon, 16 Mar 2026 20:28:37 +0700 Subject: [PATCH] fix: remove double horizontal padding in store tab extension list The extension list was wrapped in an extra Padding(horizontal: 16) on top of SettingsGroup's default 16px margin, resulting in 32px total inset. Remove the outer wrapper to match settings tab width. --- lib/screens/store_tab.dart | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/lib/screens/store_tab.dart b/lib/screens/store_tab.dart index 72c9144..6325683 100644 --- a/lib/screens/store_tab.dart +++ b/lib/screens/store_tab.dart @@ -269,22 +269,19 @@ class _StoreTabState extends ConsumerState { ), SliverToBoxAdapter( - child: Padding( - padding: const EdgeInsets.symmetric(horizontal: 16), - child: SettingsGroup( - children: filteredExtensions.asMap().entries.map((entry) { - final index = entry.key; - final ext = entry.value; - return _ExtensionItem( - extension: ext, - showDivider: index < filteredExtensions.length - 1, - isDownloading: downloadingId == ext.id, - onInstall: () => _installExtension(ext), - onUpdate: () => _updateExtension(ext), - onTap: () => _showExtensionDetails(ext), - ); - }).toList(), - ), + child: SettingsGroup( + children: filteredExtensions.asMap().entries.map((entry) { + final index = entry.key; + final ext = entry.value; + return _ExtensionItem( + extension: ext, + showDivider: index < filteredExtensions.length - 1, + isDownloading: downloadingId == ext.id, + onInstall: () => _installExtension(ext), + onUpdate: () => _updateExtension(ext), + onTap: () => _showExtensionDetails(ext), + ); + }).toList(), ), ),