From 1e98709cc31ab50d12646052e95963921da202d7 Mon Sep 17 00:00:00 2001 From: Jobobby04 Date: Sat, 4 May 2024 18:12:54 -0400 Subject: [PATCH] Revert "Fix badge count getting cut off on tab title" This reverts commit f9148c0c5ee8c3d7eeb3b3397c195c80578e6b6b. --- .../tachiyomi/presentation/core/components/material/Tabs.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/presentation-core/src/main/java/tachiyomi/presentation/core/components/material/Tabs.kt b/presentation-core/src/main/java/tachiyomi/presentation/core/components/material/Tabs.kt index c0c0dea2b..30f6766d8 100644 --- a/presentation-core/src/main/java/tachiyomi/presentation/core/components/material/Tabs.kt +++ b/presentation-core/src/main/java/tachiyomi/presentation/core/components/material/Tabs.kt @@ -6,7 +6,6 @@ import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment -import androidx.compose.ui.Modifier import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.unit.sp import tachiyomi.presentation.core.components.Pill @@ -22,7 +21,6 @@ fun TabText(text: String, badgeCount: Int? = null) { text = text, maxLines = 1, overflow = TextOverflow.Ellipsis, - modifier = Modifier.weight(1f, fill = false), ) if (badgeCount != null) { Pill(