Fix being able to bookmark a chapter by tapping on the invisible area under the reader bar

As in when the chapter sheet is collapsed
This commit is contained in:
Jays2Kings 2021-04-01 22:58:30 -04:00
parent f74fe7ecbf
commit 008753e7e4

View File

@ -162,7 +162,7 @@ class ReaderChapterSheet @JvmOverloads constructor(context: Context, attrs: Attr
fastAdapter: FastAdapter<ReaderChapterItem>,
item: ReaderChapterItem
) {
if (!activity.isLoading) {
if (!activity.isLoading && sheetBehavior.isExpanded()) {
presenter.toggleBookmark(item.chapter)
refreshList()
}