mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-24 18:08:24 +01:00
commit
c3425346b7
@ -239,6 +239,9 @@ class ChaptersFragment : BaseRxFragment<ChaptersPresenter>(), ActionMode.Callbac
|
||||
}
|
||||
}
|
||||
if (chapters.size > 0) {
|
||||
if (!presenter.sortOrder()) {
|
||||
chapters.reverse()
|
||||
}
|
||||
when (i) {
|
||||
// Set correct chapters size if desired
|
||||
0 -> chapters = chapters.subList(0, 1)
|
||||
|
Loading…
Reference in New Issue
Block a user