mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2025-01-23 04:21:11 +01:00
Toolbar no longer shows when jumping chapters with transistion off
This commit is contained in:
parent
76d82eb336
commit
a9b073fa40
@ -549,11 +549,8 @@ class ReaderActivity : BaseRxActivity<ReaderPresenter>(),
|
|||||||
// Set seekbar page number
|
// Set seekbar page number
|
||||||
page_text.text = "${page.number} / ${pages.size}"
|
page_text.text = "${page.number} / ${pages.size}"
|
||||||
|
|
||||||
if (newChapter) {
|
if (!newChapter && chapters_bottom_sheet.shouldCollapse && chapters_bottom_sheet
|
||||||
if (config?.showNewChapter == false) {
|
.sheetBehavior.isExpanded()) {
|
||||||
systemUi?.show()
|
|
||||||
}
|
|
||||||
} else if (chapters_bottom_sheet.shouldCollapse && chapters_bottom_sheet.sheetBehavior.isExpanded()) {
|
|
||||||
chapters_bottom_sheet.sheetBehavior?.collapse()
|
chapters_bottom_sheet.sheetBehavior?.collapse()
|
||||||
}
|
}
|
||||||
if (chapters_bottom_sheet.selectedChapterId != page.chapter.chapter.id) {
|
if (chapters_bottom_sheet.selectedChapterId != page.chapter.chapter.id) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user