mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Address comments, show unencrypted rooms,
retain viewModel and services in ScreenSates so you can interact with Previews after the first state.
This commit is contained in:
@@ -36,7 +36,7 @@ class TemplateRoomListService: TemplateRoomListServiceProtocol {
|
||||
self.session = session
|
||||
|
||||
let unencryptedRooms = session.rooms
|
||||
.filter(\.summary.isEncrypted)
|
||||
.filter({ !$0.summary.isEncrypted })
|
||||
.map(TemplateRoomListRoom.init(mxRoom:))
|
||||
self.roomsSubject = CurrentValueSubject(unencryptedRooms)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user