mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 13:38:49 +03:00
Use the interface power!
This commit is contained in:
parent
b8abe1b7ad
commit
14b4bff477
1 changed files with 3 additions and 2 deletions
|
@ -136,7 +136,7 @@ class RoomListViewModel @Inject constructor(
|
|||
updatableQuery = it
|
||||
},
|
||||
vectorPreferences.labsSpacesOnlyOrphansInHome()
|
||||
).buildSections(initialState.displayMode)
|
||||
)
|
||||
} else {
|
||||
RoomListSectionBuilderGroup(
|
||||
session,
|
||||
|
@ -150,8 +150,9 @@ class RoomListViewModel @Inject constructor(
|
|||
{
|
||||
updatableQuery = it
|
||||
}
|
||||
).buildSections(initialState.displayMode)
|
||||
)
|
||||
}
|
||||
.buildSections(initialState.displayMode)
|
||||
}
|
||||
|
||||
override fun handle(action: RoomListAction) {
|
||||
|
|
Loading…
Reference in a new issue