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