diff --git a/vector/src/main/java/im/vector/app/features/home/room/list/RoomListFragment.kt b/vector/src/main/java/im/vector/app/features/home/room/list/RoomListFragment.kt index 6d82da7577..30364ee93e 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/list/RoomListFragment.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/list/RoomListFragment.kt @@ -243,8 +243,9 @@ class RoomListFragment : } private fun refreshCollapseStates() { - val sectionsCount = adapterInfosList.count { !it.sectionHeaderAdapter.roomsSectionData.isHidden } - val isRoomSectionCollapsable = sectionsCount > 1 + // SC: let's just always allow collapsing sections. This messes with our persisted collapse state otherwise. + // val sectionsCount = adapterInfosList.count { !it.sectionHeaderAdapter.roomsSectionData.isHidden } + val isRoomSectionCollapsable = true // sectionsCount > 1 if (lastLoadForcedExpand && isRoomSectionCollapsable) { loadExpandStatus() }