mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
RoomList: more rework on RoomSummaryDataSource
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ class DefaultInviteStateDataSource @Inject constructor(
|
||||
override fun inviteState(): InvitesState {
|
||||
val invites by client
|
||||
.roomSummaryDataSource
|
||||
.inviteList()
|
||||
.inviteRooms()
|
||||
.collectAsState()
|
||||
|
||||
val seenInvites by seenInvitesStore
|
||||
|
||||
+1
-1
@@ -77,7 +77,7 @@ class RoomListPresenter @Inject constructor(
|
||||
var filter by rememberSaveable { mutableStateOf("") }
|
||||
val roomSummaries by client
|
||||
.roomSummaryDataSource
|
||||
.roomList()
|
||||
.allRooms()
|
||||
.collectAsState()
|
||||
|
||||
val networkConnectionStatus by networkMonitor.connectivity.collectAsState()
|
||||
|
||||
Reference in New Issue
Block a user