From 93f162fe07aaa98c6a543119f659afbec111c154 Mon Sep 17 00:00:00 2001 From: Benimautner Date: Fri, 6 Jan 2023 17:14:12 +0100 Subject: [PATCH] fixed color in light mode for kanban view --- lib/components/BucketTaskCard.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/components/BucketTaskCard.dart b/lib/components/BucketTaskCard.dart index 2478019..0d2f590 100644 --- a/lib/components/BucketTaskCard.dart +++ b/lib/components/BucketTaskCard.dart @@ -89,7 +89,8 @@ class _BucketTaskCardState extends State with AutomaticKeepAlive child: Text( widget.task.title, style: (theme.textTheme.titleMedium ?? TextStyle(fontSize: 16)).copyWith( - color: widget.task.textColor, + color: theme.brightness == Brightness.dark + ? Colors.white : Colors.black, ), ), ),