mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-09-11 14:43:13 +02:00
Fixed selected chapter in list not updating
This commit is contained in:
parent
02896679fe
commit
3d6ad28437
@ -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…
Reference in New Issue
Block a user