Toolbar no longer shows when jumping chapters with transistion off
This commit is contained in:
parent
76d82eb336
commit
a9b073fa40
1 changed files with 2 additions and 5 deletions
|
@ -549,11 +549,8 @@ class ReaderActivity : BaseRxActivity<ReaderPresenter>(),
|
|||
// Set seekbar page number
|
||||
page_text.text = "${page.number} / ${pages.size}"
|
||||
|
||||
if (newChapter) {
|
||||
if (config?.showNewChapter == false) {
|
||||
systemUi?.show()
|
||||
}
|
||||
} else if (chapters_bottom_sheet.shouldCollapse && chapters_bottom_sheet.sheetBehavior.isExpanded()) {
|
||||
if (!newChapter && chapters_bottom_sheet.shouldCollapse && chapters_bottom_sheet
|
||||
.sheetBehavior.isExpanded()) {
|
||||
chapters_bottom_sheet.sheetBehavior?.collapse()
|
||||
}
|
||||
if (chapters_bottom_sheet.selectedChapterId != page.chapter.chapter.id) {
|
||||
|
|
Reference in a new issue