mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 04:59:17 +01:00
fix format for last commit
This commit is contained in:
parent
d49bb4dfc8
commit
acd6d5cd90
@ -183,7 +183,8 @@ class PagerViewerAdapter(private val viewer: PagerViewer) : ViewPagerAdapter() {
|
|||||||
subItems.forEach {
|
subItems.forEach {
|
||||||
if (it is ReaderPage) {
|
if (it is ReaderPage) {
|
||||||
if (pagedItems.last().lastOrNull() != null &&
|
if (pagedItems.last().lastOrNull() != null &&
|
||||||
pagedItems.last().last()?.chapter?.chapter?.id != it.chapter.chapter.id) {
|
pagedItems.last().last()?.chapter?.chapter?.id != it.chapter.chapter.id
|
||||||
|
) {
|
||||||
pagedItems.add(mutableListOf())
|
pagedItems.add(mutableListOf())
|
||||||
}
|
}
|
||||||
pagedItems.last().add(it)
|
pagedItems.last().add(it)
|
||||||
|
Loading…
Reference in New Issue
Block a user