mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 07:21:51 +01:00
parent
d7a21771a5
commit
719d427956
@ -29,6 +29,7 @@ import androidx.compose.ui.Modifier
|
|||||||
import androidx.compose.ui.res.pluralStringResource
|
import androidx.compose.ui.res.pluralStringResource
|
||||||
import androidx.compose.ui.semantics.contentDescription
|
import androidx.compose.ui.semantics.contentDescription
|
||||||
import androidx.compose.ui.semantics.semantics
|
import androidx.compose.ui.semantics.semantics
|
||||||
|
import androidx.compose.ui.text.style.TextOverflow
|
||||||
import androidx.compose.ui.util.fastForEach
|
import androidx.compose.ui.util.fastForEach
|
||||||
import cafe.adriel.voyager.core.screen.Screen
|
import cafe.adriel.voyager.core.screen.Screen
|
||||||
import cafe.adriel.voyager.navigator.LocalNavigator
|
import cafe.adriel.voyager.navigator.LocalNavigator
|
||||||
@ -178,6 +179,8 @@ object HomeScreen : Screen {
|
|||||||
Text(
|
Text(
|
||||||
text = tab.options.title,
|
text = tab.options.title,
|
||||||
style = MaterialTheme.typography.labelLarge,
|
style = MaterialTheme.typography.labelLarge,
|
||||||
|
maxLines = 1,
|
||||||
|
overflow = TextOverflow.Ellipsis,
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
alwaysShowLabel = true,
|
alwaysShowLabel = true,
|
||||||
@ -204,6 +207,8 @@ object HomeScreen : Screen {
|
|||||||
Text(
|
Text(
|
||||||
text = tab.options.title,
|
text = tab.options.title,
|
||||||
style = MaterialTheme.typography.labelLarge,
|
style = MaterialTheme.typography.labelLarge,
|
||||||
|
maxLines = 1,
|
||||||
|
overflow = TextOverflow.Ellipsis,
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
alwaysShowLabel = true,
|
alwaysShowLabel = true,
|
||||||
|
Loading…
Reference in New Issue
Block a user