pref: 优化首页骨架屏展示

This commit is contained in:
HuanCheng65 2023-01-07 15:29:31 +08:00
parent cab0283f7c
commit 94503756b6
No known key found for this signature in database
GPG Key ID: E9031EF91A805148
1 changed files with 1 additions and 1 deletions

View File

@ -410,7 +410,7 @@ fun HomePage(
context.goToActivity<NewSearchActivity>() context.goToActivity<NewSearchActivity>()
} }
} }
if (!isLoading) { if (!isLoading || forums.isNotEmpty()) {
if (topForums.isNotEmpty()) { if (topForums.isNotEmpty()) {
item(key = "TopForumHeader", span = { GridItemSpan(maxLineSpan) }) { item(key = "TopForumHeader", span = { GridItemSpan(maxLineSpan) }) {
Column { Column {