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
|
||||
|
||||
|
|
Reference in a new issue