From 3013649d8966ef61e4cc653755a187febd6c6005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ot=C3=A1vio=20Stasiak?= <91474186+OtavioStasiak@users.noreply.github.com> Date: Wed, 8 Jan 2025 17:19:30 -0300 Subject: [PATCH] chore(a11y): RoomInfoEditView (#6023) --------- Co-authored-by: OtavioStasiak --- app/containers/Avatar/AvatarWithEdit.tsx | 3 +- app/containers/TextInput/FormTextInput.tsx | 8 +- app/i18n/locales/ar.json | 2 + app/i18n/locales/bn-IN.json | 2 + app/i18n/locales/cs.json | 8 +- app/i18n/locales/de.json | 8 +- app/i18n/locales/en.json | 8 +- app/i18n/locales/es.json | 8 +- app/i18n/locales/fi.json | 8 +- app/i18n/locales/fr.json | 8 +- app/i18n/locales/hi-IN.json | 2 + app/i18n/locales/hu.json | 6 +- app/i18n/locales/it.json | 8 +- app/i18n/locales/ja.json | 2 + app/i18n/locales/nl.json | 8 +- app/i18n/locales/pt-BR.json | 8 +- app/i18n/locales/pt-PT.json | 10 +- app/i18n/locales/ru.json | 8 +- app/i18n/locales/sl-SI.json | 8 +- app/i18n/locales/sv.json | 8 +- app/i18n/locales/ta-IN.json | 2 + app/i18n/locales/te-IN.json | 2 + app/i18n/locales/tr.json | 8 +- app/i18n/locales/zh-CN.json | 2 + app/i18n/locales/zh-TW.json | 2 + .../RoomInfoEditView/SwitchContainer.tsx | 73 ++-- app/views/RoomInfoEditView/index.tsx | 337 ++++++++---------- app/views/RoomInfoEditView/styles.ts | 24 +- app/views/RoomInfoView/index.tsx | 5 +- e2e/tests/room/08-roominfo.spec.ts | 23 +- e2e/tests/team/01-createteam.spec.ts | 2 +- 31 files changed, 307 insertions(+), 304 deletions(-) diff --git a/app/containers/Avatar/AvatarWithEdit.tsx b/app/containers/Avatar/AvatarWithEdit.tsx index 892f439c1d..a3bcca44c8 100644 --- a/app/containers/Avatar/AvatarWithEdit.tsx +++ b/app/containers/Avatar/AvatarWithEdit.tsx @@ -13,7 +13,7 @@ import sharedStyles from '../../views/Styles'; const styles = StyleSheet.create({ editAvatarButton: { - marginTop: 8, + marginTop: 16, paddingVertical: 8, paddingHorizontal: 12, marginBottom: 0, @@ -67,6 +67,7 @@ const AvatarWithEdit = ({ /> {handleEdit && serverVersion && compareServerVersion(serverVersion, 'greaterThanOrEqualTo', '3.6.0') ? (