From ca2686334bdfc7c8a620804dfe34cb8afeba9a61 Mon Sep 17 00:00:00 2001 From: Metaroll Date: Wed, 11 Dec 2024 10:47:04 +0000 Subject: [PATCH] set maxLines --- app/src/main/java/com/mensinator/app/settings/SettingsScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/mensinator/app/settings/SettingsScreen.kt b/app/src/main/java/com/mensinator/app/settings/SettingsScreen.kt index 5b829dc..e1edd86 100644 --- a/app/src/main/java/com/mensinator/app/settings/SettingsScreen.kt +++ b/app/src/main/java/com/mensinator/app/settings/SettingsScreen.kt @@ -468,7 +468,7 @@ private fun SettingText( .padding(vertical = 16.dp), verticalAlignment = Alignment.CenterVertically ) { - Text(text = text, modifier = Modifier.weight(1f)) + Text(text = text, modifier = Modifier.weight(1f), maxLines = 1) Spacer(Modifier.width(4.dp)) TextButton( onClick = { showDialog = true },