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