fix: Limit the max lines of labels on horizontal home menu to a single line

This commit is contained in:
Artem Chepurnoy 2024-01-15 20:18:45 +02:00
parent 89a39bc37d
commit 2245904fd1
No known key found for this signature in database
GPG Key ID: FAC37D0CF674043E

View File

@ -438,7 +438,7 @@ fun HomeScreenContent(
{
Text(
text = textResource(r.label),
maxLines = 2,
maxLines = 1,
textAlign = TextAlign.Center,
// Default style does not fit on devices with small
// screens.