From d2eab14cefff137debf3ae17d19ddaa1ab434ab8 Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 13 Apr 2021 17:13:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Drss=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E6=A0=B7=E5=BC=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/ui/rss/article/RssSortActivity.kt | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/rss/article/RssSortActivity.kt b/app/src/main/java/io/legado/app/ui/rss/article/RssSortActivity.kt index 3ebe5e74e..8b30ede65 100644 --- a/app/src/main/java/io/legado/app/ui/rss/article/RssSortActivity.kt +++ b/app/src/main/java/io/legado/app/ui/rss/article/RssSortActivity.kt @@ -20,7 +20,7 @@ class RssSortActivity : VMBaseActivity() + private var sorts = linkedMapOf() private lateinit var adapter: TabFragmentPageAdapter private val upSourceResult = registerForActivityResult( ActivityResultContracts.StartActivityForResult() @@ -40,7 +40,7 @@ class RssSortActivity : VMBaseActivity - tab.text = fragments.keys.elementAt(position) + tab.text = sorts.keys.elementAt(position) }.attach() viewModel.titleLiveData.observe(this, { binding.titleBar.title = it @@ -77,11 +77,10 @@ class RssSortActivity : VMBaseActivity