mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-27 17:49:16 +03: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