Lower alpha on low priority tasks

This commit is contained in:
Geoffroy Bonneville
2025-09-12 22:34:44 -04:00
parent e250ac91d0
commit 80f86ebdee

View File

@@ -106,7 +106,7 @@ fun TaskItem(
.fillMaxWidth() .fillMaxWidth()
.clickable { onClick() } .clickable { onClick() }
.padding(8.dp) .padding(8.dp)
.alpha(if (task.isDone) 0.5f else 1f), .alpha(if (task.isDone || task.priority == Priority.LOW) 0.5f else 1f),
) { ) {
Checkbox( Checkbox(
checked = task.isDone, checked = task.isDone,