fix: Use icon/text styling

This commit is contained in:
PartyDonut 2025-04-06 17:05:18 +02:00
parent bc4be789ec
commit 3f9b1e7068

View file

@ -68,12 +68,16 @@ class SettingsListTile extends StatelessWidget {
child: Row( child: Row(
mainAxisAlignment: MainAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.start,
children: [ children: [
ColorFiltered( DefaultTextStyle.merge(
colorFilter: ColorFilter.mode( style: TextStyle(
contentColor ?? Theme.of(context).colorScheme.onSurface, color: contentColor ?? Theme.of(context).colorScheme.onSurface,
BlendMode.srcIn, ),
child: IconTheme(
data: IconThemeData(
color: contentColor ?? Theme.of(context).colorScheme.onSurface,
),
child: leadingWidget,
), ),
child: leadingWidget,
), ),
Expanded( Expanded(
child: Column( child: Column(