From 3dde86a1e279507e369238326856d456cad012ff Mon Sep 17 00:00:00 2001 From: simonpoole Date: Thu, 12 Dec 2024 14:34:26 +0100 Subject: [PATCH] Fix small regression when counting changed and closed todos Caused by c88de583cf9798d066ebc2f6e1811b3a4e1cdc5c --- src/main/java/de/blau/android/layer/tasks/TaskLayerInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/blau/android/layer/tasks/TaskLayerInfo.java b/src/main/java/de/blau/android/layer/tasks/TaskLayerInfo.java index 73e331a05a..05502d1f67 100644 --- a/src/main/java/de/blau/android/layer/tasks/TaskLayerInfo.java +++ b/src/main/java/de/blau/android/layer/tasks/TaskLayerInfo.java @@ -55,7 +55,7 @@ protected View createView(@Nullable ViewGroup container) { boolean changed = t.hasBeenChanged(); if (t instanceof Todo) { customCount++; - if (changed) { + if (changed || t.isClosed()) { //changed is only true when skipped customChangedCount++; } } else if (t instanceof OsmoseBug) {