mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-24 22:55:59 +00:00
Revert logic determining active filters for todos
Ensures that the correct filter is applied when determining if a filter is active for todo tasks
This commit is contained in:
parent
5139f74efa
commit
ef2229e438
1 changed files with 5 additions and 1 deletions
|
|
@ -200,7 +200,11 @@ constructor(
|
|||
return false
|
||||
}
|
||||
|
||||
return Task.FILTER_ALL != activeFilters[type]
|
||||
return if (TaskType.TODO == type) {
|
||||
Task.FILTER_ACTIVE != activeFilters[type]
|
||||
} else {
|
||||
Task.FILTER_ALL != activeFilters[type]
|
||||
}
|
||||
}
|
||||
|
||||
fun filter(tasks: List<Task>): List<Task> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue