mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-04 08:35:07 +01:00
fix #99
This commit is contained in:
parent
abab778e2e
commit
fe8e4a4f54
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user