From 80f86ebdee9a06b3e1d1e36acff632b36621d4d7 Mon Sep 17 00:00:00 2001 From: Geoffroy Bonneville <24917789+wismna@users.noreply.github.com> Date: Fri, 12 Sep 2025 22:34:44 -0400 Subject: [PATCH] Lower alpha on low priority tasks --- .../geoffroy/donext/presentation/screen/TaskListScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/donextv2/src/main/java/com/wismna/geoffroy/donext/presentation/screen/TaskListScreen.kt b/donextv2/src/main/java/com/wismna/geoffroy/donext/presentation/screen/TaskListScreen.kt index 14b0200..704fa80 100644 --- a/donextv2/src/main/java/com/wismna/geoffroy/donext/presentation/screen/TaskListScreen.kt +++ b/donextv2/src/main/java/com/wismna/geoffroy/donext/presentation/screen/TaskListScreen.kt @@ -106,7 +106,7 @@ fun TaskItem( .fillMaxWidth() .clickable { onClick() } .padding(8.dp) - .alpha(if (task.isDone) 0.5f else 1f), + .alpha(if (task.isDone || task.priority == Priority.LOW) 0.5f else 1f), ) { Checkbox( checked = task.isDone,