Update crop border shortcut state when reading mode or manga set (fixes #6441)

This commit is contained in:
arkon 2022-01-09 10:53:06 -05:00
parent 4a27f0546c
commit 8a8f1d3205

View File

@ -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