Make the room settings screen update automatically (#2197)
* Make the room settings screen update automatically
This commit is contained in:
parent
72253c081b
commit
69b290f6fd
4 changed files with 36 additions and 7 deletions
|
|
@ -161,7 +161,7 @@ class FakeMatrixRoom(
|
|||
|
||||
private var leaveRoomError: Throwable? = null
|
||||
|
||||
private val _roomInfoFlow: MutableSharedFlow<MatrixRoomInfo> = MutableStateFlow(aRoomInfo())
|
||||
private val _roomInfoFlow: MutableSharedFlow<MatrixRoomInfo> = MutableSharedFlow(replay = 1)
|
||||
override val roomInfoFlow: Flow<MatrixRoomInfo> = _roomInfoFlow
|
||||
|
||||
override val membersStateFlow: MutableStateFlow<MatrixRoomMembersState> = MutableStateFlow(MatrixRoomMembersState.Unknown)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue