From d993d4ece6136700fc033dd69572526b2857dd56 Mon Sep 17 00:00:00 2001 From: Aleksandras Kostarevas Date: Tue, 28 May 2024 16:08:29 +0300 Subject: [PATCH] Announce auto fit text contents --- java/src/org/futo/inputmethod/latin/uix/ActionBar.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/org/futo/inputmethod/latin/uix/ActionBar.kt b/java/src/org/futo/inputmethod/latin/uix/ActionBar.kt index 91eb0b08f..1c6aedc12 100644 --- a/java/src/org/futo/inputmethod/latin/uix/ActionBar.kt +++ b/java/src/org/futo/inputmethod/latin/uix/ActionBar.kt @@ -169,7 +169,7 @@ fun AutoFitText( ) { val measurer = rememberTextMeasurer() - Canvas(modifier = modifier.fillMaxSize()) { + Canvas(modifier = modifier.fillMaxSize(), contentDescription = text) { val measurement = measurer.measure( text = AnnotatedString(text), style = style,