mirror of
https://github.com/wismna/DoNext.git
synced 2025-10-03 07:30:13 -04:00
Lower alpha on low priority tasks
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user