Revert "Associate the room address field helper text and error with the field"

This reverts commit d4e7cbfdbe.
This commit is contained in:
Mauro Romito
2026-06-22 13:17:23 +02:00
parent d4e7cbfdbe
commit 173a927bf8
3 changed files with 5 additions and 19 deletions
@@ -16,9 +16,7 @@ struct EditRoomAddressScreen: View {
Form {
Section {
EditRoomAddressListRow(aliasLocalPart: $context.desiredAliasLocalPart,
serverName: context.viewState.serverName,
errorDescription: context.viewState.aliasErrors.errorDescription,
footerText: L10n.screenEditRoomAddressRoomAddressSectionFooter)
serverName: context.viewState.serverName, shouldDisplayError: context.viewState.aliasErrors.errorDescription != nil)
.onChange(of: context.desiredAliasLocalPart) { _, newAliasLocalPart in
context.desiredAliasLocalPart = newAliasLocalPart.lowercased()
}