mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-13 17:51:57 +00:00
Fix task filtering
This commit is contained in:
parent
6de3940e2d
commit
d6a723e97f
1 changed files with 2 additions and 1 deletions
|
|
@ -156,10 +156,11 @@ class TasksFragment : BaseMainFragment() {
|
|||
val activePos = viewPager?.currentItem ?: 0
|
||||
viewFragmentsDictionary?.get(activePos - 1)?.recyclerAdapter?.filter()
|
||||
viewFragmentsDictionary?.get(activePos + 1)?.recyclerAdapter?.filter()
|
||||
taskFilterHelper.tags = activeTags
|
||||
if (activeTaskFilter != null) {
|
||||
activeFragment?.setActiveFilter(activeTaskFilter)
|
||||
}
|
||||
taskFilterHelper.tags = activeTags
|
||||
viewFragmentsDictionary?.values?.forEach { it.recyclerAdapter?.filter() }
|
||||
updateFilterIcon()
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue