mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-03 06:36:58 +02:00
Only display unencrypted rooms which we can use with the chat view.
This commit is contained in:
+2
@@ -68,9 +68,11 @@ struct TemplateRoomChat: View {
|
||||
.accessibility(identifier: "loadingProgress")
|
||||
} else if case .failedToInitialize = viewModel.viewState.roomInitializationStatus {
|
||||
Text("Sorry, We failed to load the room.")
|
||||
.foregroundColor(theme.colors.primaryContent)
|
||||
.accessibility(identifier: "errorMessage")
|
||||
} else if viewModel.viewState.bubbles.isEmpty {
|
||||
Text("There are no messages in this room yet.")
|
||||
.foregroundColor(theme.colors.primaryContent)
|
||||
.accessibility(identifier: "errorMessage")
|
||||
} else {
|
||||
bubbleList
|
||||
|
||||
Reference in New Issue
Block a user