Use the interface power!

This commit is contained in:
Benoit Marty 2021-07-19 18:56:15 +02:00
parent b8abe1b7ad
commit 14b4bff477
1 changed files with 3 additions and 2 deletions

View File

@ -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) {