mirror of
https://github.com/mihonapp/mihon.git
synced 2026-10-31 13:05:38 -07:00
Revert "Keep tab badges visible when the tab label is too long (#4178)"
This reverts commit 7a5632c013.
This commit is contained in:
-2
@@ -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
|
||||
@@ -20,7 +19,6 @@ fun TabText(text: String, badgeCount: Int? = null) {
|
||||
) {
|
||||
Text(
|
||||
text = text,
|
||||
modifier = Modifier.weight(1f, fill = false),
|
||||
maxLines = 1,
|
||||
overflow = TextOverflow.Ellipsis,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user