From 31bac8e30e0cf37b917fb847d913cd40a0109d0e Mon Sep 17 00:00:00 2001 From: Al Lansley Date: Thu, 8 Aug 2024 10:53:30 +1000 Subject: [PATCH] Further accessibility ID changes & removed fragment_new_conversation_home.xml --- .../start/home/StartConversation.kt | 4 +- app/src/main/res/layout/activity_home.xml | 2 +- .../res/layout/activity_message_requests.xml | 4 +- app/src/main/res/layout/activity_settings.xml | 2 +- .../main/res/layout/fragment_create_group.xml | 2 +- .../layout/fragment_new_conversation_home.xml | 183 ------------------ .../main/res/layout/view_message_request.xml | 2 +- .../layout/view_message_request_banner.xml | 2 +- .../src/main/res/values/strings.xml | 15 +- 9 files changed, 16 insertions(+), 200 deletions(-) delete mode 100644 app/src/main/res/layout/fragment_new_conversation_home.xml diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/start/home/StartConversation.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/start/home/StartConversation.kt index 61f92261b9..829e576340 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/start/home/StartConversation.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/start/home/StartConversation.kt @@ -58,14 +58,14 @@ internal fun StartConversationScreen( ItemButton( textId = R.string.groupCreate, icon = R.drawable.ic_group, - modifier = Modifier.contentDescription(R.string.AccessibilityId_create_group), + modifier = Modifier.contentDescription(R.string.AccessibilityId_groupCreate), onClick = delegate::onCreateGroupSelected ) Divider(startIndent = LocalDimensions.current.dividerIndent) ItemButton( textId = R.string.communityJoin, icon = R.drawable.ic_globe, - modifier = Modifier.contentDescription(R.string.AccessibilityId_join_community), + modifier = Modifier.contentDescription(R.string.AccessibilityId_communityJoin), onClick = delegate::onJoinCommunitySelected ) Divider(startIndent = LocalDimensions.current.dividerIndent) diff --git a/app/src/main/res/layout/activity_home.xml b/app/src/main/res/layout/activity_home.xml index 3bfb478c48..7334ff61ba 100644 --- a/app/src/main/res/layout/activity_home.xml +++ b/app/src/main/res/layout/activity_home.xml @@ -166,7 +166,7 @@