mirror of https://github.com/readrops/Readrops.git
Set TimelineTab appBar title maxLines to 1
This commit is contained in:
parent
c4339acf31
commit
ec0cf16b96
|
@ -28,6 +28,7 @@ import androidx.compose.ui.Modifier
|
||||||
import androidx.compose.ui.platform.LocalContext
|
import androidx.compose.ui.platform.LocalContext
|
||||||
import androidx.compose.ui.res.painterResource
|
import androidx.compose.ui.res.painterResource
|
||||||
import androidx.compose.ui.res.stringResource
|
import androidx.compose.ui.res.stringResource
|
||||||
|
import androidx.compose.ui.text.style.TextOverflow
|
||||||
import androidx.lifecycle.compose.collectAsStateWithLifecycle
|
import androidx.lifecycle.compose.collectAsStateWithLifecycle
|
||||||
import androidx.paging.LoadState
|
import androidx.paging.LoadState
|
||||||
import androidx.paging.compose.LazyPagingItems
|
import androidx.paging.compose.LazyPagingItems
|
||||||
|
@ -155,7 +156,9 @@ object TimelineTab : Tab {
|
||||||
FilterType.STARS_FILTER -> stringResource(R.string.favorites)
|
FilterType.STARS_FILTER -> stringResource(R.string.favorites)
|
||||||
FilterType.NO_FILTER -> stringResource(R.string.articles)
|
FilterType.NO_FILTER -> stringResource(R.string.articles)
|
||||||
FilterType.NEW -> stringResource(R.string.new_articles)
|
FilterType.NEW -> stringResource(R.string.new_articles)
|
||||||
}
|
},
|
||||||
|
maxLines = 1,
|
||||||
|
overflow = TextOverflow.Ellipsis
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
navigationIcon = {
|
navigationIcon = {
|
||||||
|
|
Loading…
Reference in New Issue