mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 11:17:25 +01:00
Update crop border shortcut state when reading mode or manga set (fixes #6441)
This commit is contained in:
parent
4a27f0546c
commit
8a8f1d3205
@ -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 New Issue
Block a user