From 8a8f1d3205d3f4db2732180e638c4c4c70d6e295 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 9 Jan 2022 10:53:06 -0500 Subject: [PATCH] Update crop border shortcut state when reading mode or manga set (fixes #6441) --- .../main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt index 3183683c0f..8b46cbafb7 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt @@ -441,6 +441,8 @@ class ReaderActivity : BaseRxActivity() if (!preferences.showReadingMode()) { menuToggleToast = toast(newReadingMode.stringRes) } + + updateCropBordersShortcut() } } } @@ -615,6 +617,7 @@ class ReaderActivity : BaseRxActivity() val newViewer = ReadingModeType.toViewer(presenter.getMangaReadingMode(), this) + updateCropBordersShortcut() setOrientation(presenter.getMangaOrientationType()) // Destroy previous viewer if there was one