Fix manga info divider for the first chapter in certain situations
This commit is contained in:
parent
87e3a610e1
commit
47373a9483
@ -238,7 +238,7 @@ class MangaController :
|
||||
|
||||
binding.recycler.adapter = ConcatAdapter(adapters)
|
||||
binding.recycler.layoutManager = LinearLayoutManager(view.context)
|
||||
binding.recycler.addItemDecoration(ChapterDividerItemDecoration(view.context, if (preferences.recommendsInOverflow().get()) 3 else 4))
|
||||
binding.recycler.addItemDecoration(ChapterDividerItemDecoration(view.context, if ((!preferences.recommendsInOverflow().get() || smartSearchConfig != null) && thisSourceAsLewdSource != null) 4 else if (!preferences.recommendsInOverflow().get() || smartSearchConfig != null || thisSourceAsLewdSource != null) 3 else 2))
|
||||
binding.recycler.setHasFixedSize(true)
|
||||
chaptersAdapter?.fastScroller = binding.fastScroller
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user