changed shadow effect toggle icon to moon

This commit is contained in:
Kima 2023-10-12 20:10:04 +02:00
parent 3ff0927834
commit 906de6dd45

View File

@ -707,13 +707,13 @@ class _SettingsScreenState extends State<SettingsScreen>
Material( Material(
type: MaterialType.transparency, type: MaterialType.transparency,
child: SwitchListTile( child: SwitchListTile(
contentPadding: const EdgeInsets.only(left: 12.0), contentPadding: const EdgeInsets.only(left: 14.0),
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12.0)), borderRadius: BorderRadius.circular(12.0)),
title: Row( title: Row(
children: [ children: [
Icon( Icon(
FeatherIcons.barChart, FeatherIcons.moon,
color: settings.shadowEffect color: settings.shadowEffect
? Theme.of(context).colorScheme.secondary ? Theme.of(context).colorScheme.secondary
: AppColors.of(context).text.withOpacity(.25), : AppColors.of(context).text.withOpacity(.25),