From 0b5274887f2dc941331b615b949a20e25e32692b Mon Sep 17 00:00:00 2001 From: Andrew P Maney Date: Sat, 28 Mar 2020 03:38:01 -0700 Subject: [PATCH] Tasks: make overdue secondary text red Also add some logic to display tasks due today as "Due today" Tasks: fixes --- src/components/Tasks/TaskListItem.tsx | 1 + src/pim-types.ts | 10 ++++++++++ src/widgets/List.tsx | 4 +++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/components/Tasks/TaskListItem.tsx b/src/components/Tasks/TaskListItem.tsx index c6f1536..664097e 100644 --- a/src/components/Tasks/TaskListItem.tsx +++ b/src/components/Tasks/TaskListItem.tsx @@ -58,6 +58,7 @@ export default React.memo(function TaskListItem(props: PropsType) { onClick(task)} leftIcon={ )} - + {children} {rightIcon && (