Fix accessibility id

This commit is contained in:
Andrew 2024-02-09 14:02:37 +10:30
parent e4999e3b84
commit 1176273c3a
2 changed files with 1 additions and 2 deletions

View File

@ -262,7 +262,6 @@ class VisibleMessageView : LinearLayout {
?.run { iconColor?.let { mutate().apply { setTint(it) } } ?: this } ?.run { iconColor?.let { mutate().apply { setTint(it) } } ?: this }
?.let(binding.messageStatusImageView::setImageDrawable) ?.let(binding.messageStatusImageView::setImageDrawable)
binding.messageStatusTextView.contentDescription = context.getString(R.string.AccessibilityId_message_sent_status) binding.messageStatusTextView.contentDescription = context.getString(R.string.AccessibilityId_message_sent_status)
binding.messageStatusImageView.contentDescription = context.getString(R.string.AccessibilityId_message_sent_status)
val lastMessageID = mmsSmsDb.getLastMessageID(message.threadId) val lastMessageID = mmsSmsDb.getLastMessageID(message.threadId)
val isLastMessage = message.id == lastMessageID val isLastMessage = message.id == lastMessageID

View File

@ -117,7 +117,7 @@
<string name="AccessibilityId_download_media">Download media</string> <string name="AccessibilityId_download_media">Download media</string>
<string name="AccessibilityId_dont_download_media">Don\'t download media</string> <string name="AccessibilityId_dont_download_media">Don\'t download media</string>
<!-- Conversation View--> <!-- Conversation View-->
<string name="AccessibilityId_message_sent_status">Message sent status</string> <string name="AccessibilityId_message_sent_status">Message sent status: Sent</string>
<string name="AccessibilityId_message_request_config_message">Message request has been accepted</string> <string name="AccessibilityId_message_request_config_message">Message request has been accepted</string>
<string name="AccessibilityId_message_body">Message body</string> <string name="AccessibilityId_message_body">Message body</string>
<string name="AccessibilityId_voice_message">Voice message</string> <string name="AccessibilityId_voice_message">Voice message</string>