Text on tabs Overflow Ellipsis (#10095)

* Update TabbedDialog to TabbedScreen

* clean

(cherry picked from commit b3d7c9247530c0522033b4a9130d252bcbf50163)

# Conflicts:
#	presentation-core/src/main/java/tachiyomi/presentation/core/components/material/Tabs.kt
This commit is contained in:
Eshlender
2023-11-02 07:17:17 +05:00
committed by Jobobby04
parent 3dd8aeafe5
commit aa2afd1402
2 changed files with 6 additions and 17 deletions
@@ -65,10 +65,8 @@ fun TabText(text: String, badgeCount: Int? = null) {
) {
Text(
text = text,
// SY -->
maxLines = 1,
overflow = TextOverflow.Ellipsis,
// SY <--
)
if (badgeCount != null) {
Pill(