Skip to content

Commit 2822bf6

Browse files
authored
fix text color for taskc tasks (#492)
1 parent 8ca09c0 commit 2822bf6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/app/modules/home/views/show_tasks.dart

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ class TaskViewBuilder extends StatelessWidget {
2424
@override
2525
Widget build(BuildContext context) {
2626
final HomeController taskController = Get.find<HomeController>();
27-
TaskwarriorColorTheme tColors = Theme.of(context).extension<TaskwarriorColorTheme>()!;
28-
27+
TaskwarriorColorTheme tColors =
28+
Theme.of(context).extension<TaskwarriorColorTheme>()!;
29+
2930
return Obx(() {
3031
List<Tasks> tasks = List<Tasks>.from(taskController.tasks);
3132
// Filter tasks based on the selected project
@@ -187,7 +188,7 @@ class TaskViewBuilder extends StatelessWidget {
187188
maxLines: 1,
188189
overflow: TextOverflow.ellipsis,
189190
style: GoogleFonts.poppins(
190-
color: tColors.dialogBackgroundColor,
191+
color: tColors.primaryTextColor,
191192
),
192193
),
193194
subtitle: Text(

0 commit comments

Comments
 (0)