mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-20 12:49:02 +00:00
Fix issue with task filters
This commit is contained in:
parent
8caca96e41
commit
de83f8741b
1 changed files with 3 additions and 1 deletions
|
|
@ -46,7 +46,9 @@ class TasksFragment : BaseMainFragment() {
|
|||
}
|
||||
|
||||
private val activeFragment: TaskRecyclerViewFragment?
|
||||
get() = viewFragmentsDictionary?.get(viewPager?.currentItem)
|
||||
get() {
|
||||
return viewFragmentsDictionary?.get(viewPager?.currentItem) ?: (childFragmentManager.findFragmentByTag("android:switcher:" + R.id.viewPager + ":" + viewPager?.currentItem) as? TaskRecyclerViewFragment)
|
||||
}
|
||||
|
||||
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?,
|
||||
savedInstanceState: Bundle?): View? {
|
||||
|
|
|
|||
Loading…
Reference in a new issue