mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-24 02:01:51 +01:00
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:
parent
f74fe7ecbf
commit
008753e7e4
@ -162,7 +162,7 @@ class ReaderChapterSheet @JvmOverloads constructor(context: Context, attrs: Attr
|
|||||||
fastAdapter: FastAdapter<ReaderChapterItem>,
|
fastAdapter: FastAdapter<ReaderChapterItem>,
|
||||||
item: ReaderChapterItem
|
item: ReaderChapterItem
|
||||||
) {
|
) {
|
||||||
if (!activity.isLoading) {
|
if (!activity.isLoading && sheetBehavior.isExpanded()) {
|
||||||
presenter.toggleBookmark(item.chapter)
|
presenter.toggleBookmark(item.chapter)
|
||||||
refreshList()
|
refreshList()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user