Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a688806e authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Added Auto Hyphenation to shortcut categories panel" into main

parents df9a25c1 ad4ddf61
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -105,6 +105,7 @@ import androidx.compose.ui.semantics.role
import androidx.compose.ui.semantics.semantics
import androidx.compose.ui.text.SpanStyle
import androidx.compose.ui.text.buildAnnotatedString
import androidx.compose.ui.text.style.Hyphens
import androidx.compose.ui.text.withStyle
import androidx.compose.ui.unit.Density
import androidx.compose.ui.unit.Dp
@@ -969,7 +970,7 @@ private fun CategoryItemTwoPane(
                Text(
                    fontSize = 18.sp,
                    color = colors.textColor(selected).value,
                    style = MaterialTheme.typography.titleSmall,
                    style = MaterialTheme.typography.titleSmall.copy(hyphens = Hyphens.Auto),
                    text = label,
                )
            }