mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-21 17:05:39 +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,7 +297,9 @@ class RoomListFragment @Inject constructor(
|
|||
)
|
||||
)
|
||||
concatAdapter.addAdapter(sectionAdapter)
|
||||
concatAdapter.addAdapter(contentAdapter.adapter)
|
||||
if (section.isExpanded.value.orTrue()) {
|
||||
concatAdapter.addAdapter(contentAdapter.adapter)
|
||||
}
|
||||
}
|
||||
|
||||
// Add the footer controller
|
||||
|
|
Loading…
Reference in a new issue