修复rss切换样式bug

pull/951/head 3.21.041415
gedoor 4 years ago
parent 9a873da130
commit 1499ad5408
  1. 3
      app/src/main/java/io/legado/app/ui/rss/article/RssSortActivity.kt

@ -95,7 +95,8 @@ class RssSortActivity : VMBaseActivity<ActivityRssArtivlesBinding, RssSortViewMo
}
override fun getItemId(position: Int): Long {
return position + (viewModel.rssSource?.articleStyle ?: 0).toLong() * 100
val style = viewModel.rssSource?.articleStyle ?: 0
return style * 100 + super.getItemId(position)
}
override fun createFragment(position: Int): Fragment {

Loading…
Cancel
Save