fix(ExplorePage): 无网络时默认打开热榜
This commit is contained in:
parent
4673044663
commit
addbc80bc0
|
|
@ -50,7 +50,7 @@ fun ExplorePage() {
|
||||||
HotPage()
|
HotPage()
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
val pagerState = rememberPagerState(initialPage = 1)
|
val pagerState = rememberPagerState(initialPage = if (account != null) 1 else 0)
|
||||||
val coroutineScope = rememberCoroutineScope()
|
val coroutineScope = rememberCoroutineScope()
|
||||||
Scaffold(
|
Scaffold(
|
||||||
backgroundColor = Color.Transparent,
|
backgroundColor = Color.Transparent,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue