diff --git a/lib/screens/settings_page.dart b/lib/screens/settings_page.dart index ca72f886..28305cd0 100644 --- a/lib/screens/settings_page.dart +++ b/lib/screens/settings_page.dart @@ -163,11 +163,11 @@ class SettingsPage extends ConsumerWidget { subtitle: const Text('Delete all requests data from the disk'), trailing: FilledButton.tonalIcon( style: FilledButton.styleFrom( - backgroundColor: settings.isDark - ? kColorDarkDanger - : kColorLightDanger, - surfaceTintColor: kColorRed, - foregroundColor: Theme.of(context).colorScheme.onPrimary), + backgroundColor: + settings.isDark ? kColorDarkDanger : kColorLightDanger, + surfaceTintColor: kColorRed, + foregroundColor: Theme.of(context).colorScheme.onPrimary, + ), onPressed: clearingData ? null : () => showDialog( @@ -217,9 +217,10 @@ class SettingsPage extends ConsumerWidget { ), ), label: const Text("Clear"), - icon: const Icon( + icon: Icon( Icons.delete_forever_rounded, size: 20, + color: Theme.of(context).colorScheme.onPrimary, ), ), ),