diff --git a/app/src/main/java/app/nexd/android/ui/helper/shoppingList/ShoppingListEntryBinder.kt b/app/src/main/java/app/nexd/android/ui/helper/shoppingList/ShoppingListEntryBinder.kt index 2e08dbc..2d0f91a 100644 --- a/app/src/main/java/app/nexd/android/ui/helper/shoppingList/ShoppingListEntryBinder.kt +++ b/app/src/main/java/app/nexd/android/ui/helper/shoppingList/ShoppingListEntryBinder.kt @@ -26,11 +26,9 @@ class ShoppingListEntryBinder : crossed.visibility = if (entry.isCollected) View.VISIBLE else View.GONE itemView.setOnClickListener { - if (!entry.isCollected) { // TODO: rather update view than immediate selection/deselection entry.isCollected = !entry.isCollected crossed.visibility = if (entry.isCollected) View.VISIBLE else View.GONE toggleItemSelection() - } } } }