mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-14 17:05:07 +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()) {
|
if (!preferences.showReadingMode()) {
|
||||||
menuToggleToast = toast(newReadingMode.stringRes)
|
menuToggleToast = toast(newReadingMode.stringRes)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
updateCropBordersShortcut()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -615,6 +617,7 @@ class ReaderActivity : BaseRxActivity<ReaderActivityBinding, ReaderPresenter>()
|
|||||||
|
|
||||||
val newViewer = ReadingModeType.toViewer(presenter.getMangaReadingMode(), this)
|
val newViewer = ReadingModeType.toViewer(presenter.getMangaReadingMode(), this)
|
||||||
|
|
||||||
|
updateCropBordersShortcut()
|
||||||
setOrientation(presenter.getMangaOrientationType())
|
setOrientation(presenter.getMangaOrientationType())
|
||||||
|
|
||||||
// Destroy previous viewer if there was one
|
// Destroy previous viewer if there was one
|
||||||
|
Loading…
Reference in New Issue
Block a user