From 5d5f311e36b2e711c543d9590ca7f3dc81c1c181 Mon Sep 17 00:00:00 2001 From: aAbed <39409020+TheAabedKhan@users.noreply.github.com> Date: Sun, 15 Oct 2023 09:17:28 +0000 Subject: [PATCH] fix(settings-view): list items jumping on scroll up (#1375) --- lib/ui/views/settings/settings_view.dart | 27 +++++++++++++++--------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/lib/ui/views/settings/settings_view.dart b/lib/ui/views/settings/settings_view.dart index e1002b404a..a806ee557a 100644 --- a/lib/ui/views/settings/settings_view.dart +++ b/lib/ui/views/settings/settings_view.dart @@ -40,16 +40,23 @@ class SettingsView extends StatelessWidget { SliverList( delegate: SliverChildListDelegate.fixed( [ - SUpdateThemeUI(), - // SUpdateLanguageUI(), - // _settingsDivider, - STeamSection(), - _settingsDivider, - SAdvancedSection(), - _settingsDivider, - SExportSection(), - _settingsDivider, - SInfoSection(), + ListView( + padding: EdgeInsets.zero, + shrinkWrap: true, + physics: NeverScrollableScrollPhysics(), + children: const [ + SUpdateThemeUI(), + // SUpdateLanguageUI(), + // _settingsDivider, + STeamSection(), + _settingsDivider, + SAdvancedSection(), + _settingsDivider, + SExportSection(), + _settingsDivider, + SInfoSection(), + ], + ), ], ), ),