mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 20:31:02 -05:00
Revert "Fix badge count getting cut off on tab title"
This reverts commit 263e467cde
.
This commit is contained in:
parent
e473c7f09f
commit
dbcc4a7d71
1 changed files with 0 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue