diff --git a/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesFragment.kt b/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesFragment.kt index 22a62bb63..840bc623c 100644 --- a/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesFragment.kt +++ b/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesFragment.kt @@ -57,9 +57,10 @@ class RssArticlesFragment : VMBaseFragment(R.layout.fragme recycler_view.layoutManager = if (activityViewModel.isGridLayout) { GridLayoutManager(requireContext(), 2) } else { + recycler_view.addItemDecoration(VerticalDivider(requireContext())) LinearLayoutManager(requireContext()) + } - recycler_view.addItemDecoration(VerticalDivider(requireContext())) adapter = RssArticlesAdapter(requireContext(), activityViewModel.layoutId, this) recycler_view.adapter = adapter loadMoreView = LoadMoreView(requireContext())