Reduces the font size for the translation label

This commit is contained in:
Vitor Pamplona
2024-10-17 15:22:19 -04:00
parent 25c3532637
commit 24b29396cb
@@ -62,6 +62,7 @@ import com.vitorpamplona.amethyst.ui.navigation.INav
import com.vitorpamplona.amethyst.ui.screen.loggedIn.AccountViewModel import com.vitorpamplona.amethyst.ui.screen.loggedIn.AccountViewModel
import com.vitorpamplona.amethyst.ui.stringRes import com.vitorpamplona.amethyst.ui.stringRes
import com.vitorpamplona.amethyst.ui.theme.DividerThickness import com.vitorpamplona.amethyst.ui.theme.DividerThickness
import com.vitorpamplona.amethyst.ui.theme.Font14SP
import com.vitorpamplona.amethyst.ui.theme.lessImportantLink import com.vitorpamplona.amethyst.ui.theme.lessImportantLink
import com.vitorpamplona.quartz.events.ImmutableListOfLists import com.vitorpamplona.quartz.events.ImmutableListOfLists
import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.Dispatchers
@@ -212,6 +213,7 @@ private fun TranslationMessage(
MaterialTheme.colorScheme.onSurface.copy( MaterialTheme.colorScheme.onSurface.copy(
alpha = 0.32f, alpha = 0.32f,
), ),
fontSize = Font14SP,
), ),
overflow = TextOverflow.Visible, overflow = TextOverflow.Visible,
maxLines = 3, maxLines = 3,