mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Fixed selected chapter in list not updating
This commit is contained in:
parent
02896679fe
commit
3d6ad28437
1 changed files with 1 additions and 1 deletions
|
@ -510,7 +510,7 @@ class ReaderActivity : BaseRxActivity<ReaderPresenter>(),
|
|||
} else if (chapters_bottom_sheet.shouldCollaspe && chapters_bottom_sheet.sheetBehavior?.state == BottomSheetBehavior.STATE_EXPANDED) {
|
||||
chapters_bottom_sheet.sheetBehavior?.state = BottomSheetBehavior.STATE_COLLAPSED
|
||||
}
|
||||
if (chapters_bottom_sheet.selectedChapterId != presenter.getCurrentChapter()?.chapter?.id)
|
||||
if (chapters_bottom_sheet.selectedChapterId != page.chapter.chapter.id)
|
||||
chapters_bottom_sheet.refreshList()
|
||||
chapters_bottom_sheet.shouldCollaspe = true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue