fix(ExplorePage): 无网络时默认打开热榜

This commit is contained in:
HuanCheng65 2023-03-12 00:03:44 +08:00
parent 4673044663
commit addbc80bc0
No known key found for this signature in database
GPG Key ID: E9031EF91A805148
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ fun ExplorePage() {
HotPage()
},
)
val pagerState = rememberPagerState(initialPage = 1)
val pagerState = rememberPagerState(initialPage = if (account != null) 1 else 0)
val coroutineScope = rememberCoroutineScope()
Scaffold(
backgroundColor = Color.Transparent,