fix(settings-view): list items jumping on scroll up (#1375)

This commit is contained in:
aAbed 2023-10-15 09:17:28 +00:00 committed by GitHub
parent d577e97758
commit 5d5f311e36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,6 +40,11 @@ class SettingsView extends StatelessWidget {
SliverList( SliverList(
delegate: SliverChildListDelegate.fixed( delegate: SliverChildListDelegate.fixed(
<Widget>[ <Widget>[
ListView(
padding: EdgeInsets.zero,
shrinkWrap: true,
physics: NeverScrollableScrollPhysics(),
children: const [
SUpdateThemeUI(), SUpdateThemeUI(),
// SUpdateLanguageUI(), // SUpdateLanguageUI(),
// _settingsDivider, // _settingsDivider,
@ -52,6 +57,8 @@ class SettingsView extends StatelessWidget {
SInfoSection(), SInfoSection(),
], ],
), ),
],
),
), ),
], ],
), ),