commit
c3425346b7
1 changed files with 3 additions and 0 deletions
|
@ -239,6 +239,9 @@ class ChaptersFragment : BaseRxFragment<ChaptersPresenter>(), ActionMode.Callbac
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (chapters.size > 0) {
|
if (chapters.size > 0) {
|
||||||
|
if (!presenter.sortOrder()) {
|
||||||
|
chapters.reverse()
|
||||||
|
}
|
||||||
when (i) {
|
when (i) {
|
||||||
// Set correct chapters size if desired
|
// Set correct chapters size if desired
|
||||||
0 -> chapters = chapters.subList(0, 1)
|
0 -> chapters = chapters.subList(0, 1)
|
||||||
|
|
Reference in a new issue