mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-10 13:37:47 +01:00
Update crop border shortcut state when reading mode or manga set (fixes #6441)
This commit is contained in:
parent
4a27f0546c
commit
8a8f1d3205
1 changed files with 3 additions and 0 deletions
|
@ -441,6 +441,8 @@ class ReaderActivity : BaseRxActivity<ReaderActivityBinding, ReaderPresenter>()
|
|||
if (!preferences.showReadingMode()) {
|
||||
menuToggleToast = toast(newReadingMode.stringRes)
|
||||
}
|
||||
|
||||
updateCropBordersShortcut()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -615,6 +617,7 @@ class ReaderActivity : BaseRxActivity<ReaderActivityBinding, ReaderPresenter>()
|
|||
|
||||
val newViewer = ReadingModeType.toViewer(presenter.getMangaReadingMode(), this)
|
||||
|
||||
updateCropBordersShortcut()
|
||||
setOrientation(presenter.getMangaOrientationType())
|
||||
|
||||
// Destroy previous viewer if there was one
|
||||
|
|
Loading…
Reference in a new issue