remove padding
This commit is contained in:
@@ -90,9 +90,7 @@ class SettingsScreen extends HookConsumerWidget {
|
|||||||
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(title: const Text('Settings')),
|
appBar: AppBar(title: const Text('Settings')),
|
||||||
body: Padding(
|
body: ListView(
|
||||||
padding: const EdgeInsets.all(8.0),
|
|
||||||
child: ListView(
|
|
||||||
children: [
|
children: [
|
||||||
_buildSection(theme, 'Kagi'),
|
_buildSection(theme, 'Kagi'),
|
||||||
Padding(
|
Padding(
|
||||||
@@ -147,8 +145,8 @@ class SettingsScreen extends HookConsumerWidget {
|
|||||||
value: showEarlyAccessFeatures,
|
value: showEarlyAccessFeatures,
|
||||||
onChanged: (value) async {
|
onChanged: (value) async {
|
||||||
await ref.read(saveSettingsControllerProvider.notifier).save(
|
await ref.read(saveSettingsControllerProvider.notifier).save(
|
||||||
(currentSettings) => currentSettings.copyWith
|
(currentSettings) =>
|
||||||
.showEarlyAccessFeatures(value),
|
currentSettings.copyWith.showEarlyAccessFeatures(value),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
@@ -412,7 +410,6 @@ class SettingsScreen extends HookConsumerWidget {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user