fix: 首页骨架屏不显示搜索框
This commit is contained in:
parent
f00a79ebc3
commit
4fec7205da
|
|
@ -518,12 +518,18 @@ private fun HomePageSkeletonScreen(
|
||||||
listSingle: Boolean,
|
listSingle: Boolean,
|
||||||
gridCells: GridCells
|
gridCells: GridCells
|
||||||
) {
|
) {
|
||||||
|
val context = LocalContext.current
|
||||||
LazyVerticalGrid(
|
LazyVerticalGrid(
|
||||||
columns = gridCells,
|
columns = gridCells,
|
||||||
contentPadding = PaddingValues(bottom = 12.dp),
|
contentPadding = PaddingValues(bottom = 12.dp),
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.fillMaxSize(),
|
.fillMaxSize(),
|
||||||
) {
|
) {
|
||||||
|
item(key = "SearchBox", span = { GridItemSpan(maxLineSpan) }) {
|
||||||
|
SearchBox(modifier = Modifier.padding(bottom = 12.dp)) {
|
||||||
|
context.goToActivity<NewSearchActivity>()
|
||||||
|
}
|
||||||
|
}
|
||||||
item(key = "TopForumHeaderPlaceholder", span = { GridItemSpan(maxLineSpan) }) {
|
item(key = "TopForumHeaderPlaceholder", span = { GridItemSpan(maxLineSpan) }) {
|
||||||
Column {
|
Column {
|
||||||
Header(
|
Header(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue