From 24b29396cb795bd18fdad92e8a2974e6479be159 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Thu, 17 Oct 2024 15:22:19 -0400 Subject: [PATCH] Reduces the font size for the translation label --- .../amethyst/ui/components/TranslatableRichTextViewer.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/amethyst/src/play/java/com/vitorpamplona/amethyst/ui/components/TranslatableRichTextViewer.kt b/amethyst/src/play/java/com/vitorpamplona/amethyst/ui/components/TranslatableRichTextViewer.kt index 63568fe04..f72615ca5 100644 --- a/amethyst/src/play/java/com/vitorpamplona/amethyst/ui/components/TranslatableRichTextViewer.kt +++ b/amethyst/src/play/java/com/vitorpamplona/amethyst/ui/components/TranslatableRichTextViewer.kt @@ -62,6 +62,7 @@ import com.vitorpamplona.amethyst.ui.navigation.INav import com.vitorpamplona.amethyst.ui.screen.loggedIn.AccountViewModel import com.vitorpamplona.amethyst.ui.stringRes import com.vitorpamplona.amethyst.ui.theme.DividerThickness +import com.vitorpamplona.amethyst.ui.theme.Font14SP import com.vitorpamplona.amethyst.ui.theme.lessImportantLink import com.vitorpamplona.quartz.events.ImmutableListOfLists import kotlinx.coroutines.Dispatchers @@ -212,6 +213,7 @@ private fun TranslationMessage( MaterialTheme.colorScheme.onSurface.copy( alpha = 0.32f, ), + fontSize = Font14SP, ), overflow = TextOverflow.Visible, maxLines = 3,