mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
updated edit details screen copies to reflect the usage of spaces.
This commit is contained in:
@@ -35,7 +35,7 @@ struct RoomDetailsEditScreenViewState: BindableState {
|
||||
|
||||
/// The string shown for the room's name when it can't be edited.
|
||||
var nameRowTitle: String {
|
||||
bindings.name.isEmpty ? L10n.commonRoomName : bindings.name
|
||||
bindings.name.isEmpty ? L10n.commonName : bindings.name
|
||||
}
|
||||
|
||||
/// The string shown for the room's topic when it can't be edited.
|
||||
|
||||
@@ -92,7 +92,7 @@ struct RoomDetailsEditScreen: View {
|
||||
})
|
||||
}
|
||||
} header: {
|
||||
Text(L10n.commonRoomName)
|
||||
Text(L10n.commonName)
|
||||
.compoundListSectionHeader()
|
||||
}
|
||||
}
|
||||
@@ -100,7 +100,7 @@ struct RoomDetailsEditScreen: View {
|
||||
private var topicSection: some View {
|
||||
Section {
|
||||
if context.viewState.canEditTopic {
|
||||
ListRow(label: .plain(title: L10n.commonTopicPlaceholder),
|
||||
ListRow(label: .plain(title: context.viewState.isSpace ? L10n.commonSpaceTopicPlaceholder : L10n.commonTopicPlaceholder),
|
||||
kind: .textField(text: $context.topic, axis: .vertical))
|
||||
.focused($focus, equals: .topic)
|
||||
.lineLimit(3...)
|
||||
|
||||
Reference in New Issue
Block a user