wrap settings category in safearea

This commit is contained in:
Henry Hiles 2026-07-19 00:30:41 -04:00
commit 5df975f607
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -51,25 +51,27 @@ class SettingsCategoryPage extends HookConsumerWidget {
appBar: AppBar( appBar: AppBar(
title: Text(sections.values.flattenedToList[index].title), title: Text(sections.values.flattenedToList[index].title),
), ),
body: SuperListView( body: SafeArea(
controller: scrollController, child: SuperListView(
listController: listController.value, controller: scrollController,
padding: .symmetric(vertical: 12, horizontal: 8), listController: listController.value,
children: sections.values.flattenedToList[index].settings padding: .symmetric(vertical: 12, horizontal: 8),
.mapIndexed( children: sections.values.flattenedToList[index].settings
(index, setting) => Padding( .mapIndexed(
padding: .only(bottom: 4), (index, setting) => Padding(
child: HighlightWrapper( padding: .only(bottom: 4),
setting.builder( child: HighlightWrapper(
setting.title, setting.builder(
setting.description, setting.title,
setting.icon, setting.description,
setting.icon,
),
isHighlighted: highlight.value == index,
), ),
isHighlighted: highlight.value == index,
), ),
), )
) .toList(),
.toList(), ),
), ),
), ),
); );