Skip to content
Snippets Groups Projects
Commit d993d4ec authored by Aleksandras Kostarevas's avatar Aleksandras Kostarevas
Browse files

Announce auto fit text contents

parent 216e19f6
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment