From addbc80bc0e697d6a00c79c2c5a8954de6c7d7d8 Mon Sep 17 00:00:00 2001 From: HuanCheng65 <22636177+HuanCheng65@users.noreply.github.com> Date: Sun, 12 Mar 2023 00:03:44 +0800 Subject: [PATCH] =?UTF-8?q?fix(ExplorePage):=20=E6=97=A0=E7=BD=91=E7=BB=9C?= =?UTF-8?q?=E6=97=B6=E9=BB=98=E8=AE=A4=E6=89=93=E5=BC=80=E7=83=AD=E6=A6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../huanchengfly/tieba/post/ui/page/main/explore/ExplorePage.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/huanchengfly/tieba/post/ui/page/main/explore/ExplorePage.kt b/app/src/main/java/com/huanchengfly/tieba/post/ui/page/main/explore/ExplorePage.kt index ea328c3e..d6cffd18 100644 --- a/app/src/main/java/com/huanchengfly/tieba/post/ui/page/main/explore/ExplorePage.kt +++ b/app/src/main/java/com/huanchengfly/tieba/post/ui/page/main/explore/ExplorePage.kt @@ -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,