mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 08:32:53 +02:00
Change cells, add separator, fix room display name, fix content height, introduce AutoSizedTableView
This commit is contained in:
+4
-3
@@ -53,6 +53,9 @@ final class RoomCreationEventsModalViewModel: RoomCreationEventsModalViewModelTy
|
||||
if let aliases = roomState.aliases, aliases.count > 0 {
|
||||
return aliases.first
|
||||
}
|
||||
if let summary = session.roomSummary(withRoomId: roomState.roomId) {
|
||||
return summary.displayname
|
||||
}
|
||||
return nil
|
||||
}
|
||||
var roomInfo: String? {
|
||||
@@ -119,9 +122,7 @@ final class RoomCreationEventsModalViewModel: RoomCreationEventsModalViewModelTy
|
||||
// MARK: - Private
|
||||
|
||||
private func loadData() {
|
||||
|
||||
self.update(viewState: .loading)
|
||||
|
||||
self.update(viewState: .loaded)
|
||||
}
|
||||
|
||||
private func update(viewState: RoomCreationEventsModalViewState) {
|
||||
|
||||
Reference in New Issue
Block a user