mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-25 10:55:55 +03:00
Fix invalid expand status on tab switch
Change-Id: I8db822d61b93b0b6f12ecbe4c7270f42c204caa5
This commit is contained in:
parent
0aee3cf68c
commit
3bfae2a28b
1 changed files with 3 additions and 1 deletions
|
@ -297,8 +297,10 @@ class RoomListFragment @Inject constructor(
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
concatAdapter.addAdapter(sectionAdapter)
|
concatAdapter.addAdapter(sectionAdapter)
|
||||||
|
if (section.isExpanded.value.orTrue()) {
|
||||||
concatAdapter.addAdapter(contentAdapter.adapter)
|
concatAdapter.addAdapter(contentAdapter.adapter)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Add the footer controller
|
// Add the footer controller
|
||||||
footerController.listener = this
|
footerController.listener = this
|
||||||
|
|
Loading…
Reference in a new issue