From 048716b4aba11619e22abab0ff024c268cb6da7d Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 5 May 2022 22:48:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/ui/main/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/main/MainActivity.kt b/app/src/main/java/io/legado/app/ui/main/MainActivity.kt index 5b1371785..dda7b1adb 100644 --- a/app/src/main/java/io/legado/app/ui/main/MainActivity.kt +++ b/app/src/main/java/io/legado/app/ui/main/MainActivity.kt @@ -71,7 +71,7 @@ class MainActivity : VMBaseActivity(), override fun onActivityCreated(savedInstanceState: Bundle?) { upBottomMenu() - binding.apply { + binding.run { viewPagerMain.setEdgeEffectColor(primaryColor) viewPagerMain.offscreenPageLimit = 3 viewPagerMain.adapter = TabFragmentPageAdapter(supportFragmentManager)