Use the space room name computed by the SDK. (#4589)

This commit is contained in:
Doug
2025-10-07 14:33:37 +01:00
committed by GitHub
parent bdc136ba8c
commit 10a956ca8e
9 changed files with 18 additions and 17 deletions

View File

@@ -22,7 +22,7 @@ struct SpaceHeaderView: View {
.accessibilityHidden(true)
VStack(spacing: 8) {
Text(spaceRoomProxy.computedName)
Text(spaceRoomProxy.name)
.font(.compound.headingLGBold)
.foregroundStyle(.compound.textPrimary)
.multilineTextAlignment(.center)

View File

@@ -90,7 +90,7 @@ struct SpaceRoomCell: View {
private var content: some View {
HStack(spacing: 16) {
VStack(alignment: .leading, spacing: 2) {
Text(spaceRoomProxy.computedName)
Text(spaceRoomProxy.name)
.font(.compound.bodyLGSemibold)
.foregroundColor(.compound.textPrimary)
.lineLimit(1)

View File

@@ -41,7 +41,7 @@ struct LeaveSpaceRoomDetailsCell: View {
}
VStack(alignment: .leading, spacing: 0) {
Text(room.spaceRoomProxy.computedName)
Text(room.spaceRoomProxy.name)
.font(.compound.bodyLGSemibold)
.foregroundStyle(.compound.textPrimary)
.lineLimit(1)