From 6d2ac18859908ea3de169260768617aeb65a5681 Mon Sep 17 00:00:00 2001 From: Sylvia van Os Date: Mon, 29 Dec 2025 17:05:55 +0100 Subject: [PATCH] Fix Talkback announcing "greater than arrow" --- .../main/java/protect/card_locker/compose/AboutActivity.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/protect/card_locker/compose/AboutActivity.kt b/app/src/main/java/protect/card_locker/compose/AboutActivity.kt index 5411063cc..3fcc5760c 100644 --- a/app/src/main/java/protect/card_locker/compose/AboutActivity.kt +++ b/app/src/main/java/protect/card_locker/compose/AboutActivity.kt @@ -17,6 +17,8 @@ import androidx.compose.runtime.remember import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.res.stringResource +import androidx.compose.ui.semantics.hideFromAccessibility +import androidx.compose.ui.semantics.semantics import androidx.compose.ui.text.AnnotatedString import androidx.compose.ui.unit.dp import protect.card_locker.OpenWebLinkHandler @@ -44,6 +46,7 @@ fun CatimaAboutSection( OpenWebLinkHandler().openBrowser(activity, onClickUrl) } } + .semantics(mergeDescendants = true) {} ) { Column(modifier = Modifier.weight(1F)) { Text( @@ -52,7 +55,7 @@ fun CatimaAboutSection( ) Text(text = message) } - Text(modifier = Modifier.align(Alignment.CenterVertically), + Text(modifier = Modifier.align(Alignment.CenterVertically).semantics() { hideFromAccessibility() }, text = ">", style = MaterialTheme.typography.bodyMedium )