From ac996d942450e8004d920c2a93b8009d0b5960ee Mon Sep 17 00:00:00 2001 From: sd-athlon <163880004+sd-athlon@users.noreply.github.com> Date: Tue, 26 Mar 2024 13:45:55 +0200 Subject: [PATCH] fix(main): ListItem disabled color (#8) * fix(main): ListItem disabled color * [automated commit] lint format and import sort --------- Co-authored-by: github-actions --- lib/src/components/list_item/list_item.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/components/list_item/list_item.dart b/lib/src/components/list_item/list_item.dart index 80cbdb1a..f73ebac6 100644 --- a/lib/src/components/list_item/list_item.dart +++ b/lib/src/components/list_item/list_item.dart @@ -98,7 +98,7 @@ class ZetaListItem extends StatelessWidget { if (subtitle != null) DefaultTextStyle( style: ZetaTextStyles.titleSmall.copyWith( - color: zetaColors.textSubtle, + color: enabled ? zetaColors.textSubtle : zetaColors.textDisabled, ), maxLines: 1, overflow: TextOverflow.ellipsis, @@ -106,7 +106,7 @@ class ZetaListItem extends StatelessWidget { ), DefaultTextStyle( style: _titleTextStyle.copyWith( - color: enabled ? zetaColors.textDefault : zetaColors.textSubtle, + color: enabled ? zetaColors.textDefault : zetaColors.textDisabled, ), maxLines: 1, overflow: TextOverflow.ellipsis,