mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix format for last commit
This commit is contained in:
parent
d49bb4dfc8
commit
acd6d5cd90
1 changed files with 2 additions and 1 deletions
|
@ -183,7 +183,8 @@ class PagerViewerAdapter(private val viewer: PagerViewer) : ViewPagerAdapter() {
|
|||
subItems.forEach {
|
||||
if (it is ReaderPage) {
|
||||
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.last().add(it)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue