diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerConfig.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerConfig.kt index 0f835e74cc..dba0e1c4e5 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerConfig.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerConfig.kt @@ -43,7 +43,13 @@ class PagerConfig( .register({ navigationMode = it }, { updateNavigation(navigationMode) }) preferences.pagerNavInverted() - .register({ tappingInverted = it }, { navigator.invertMode = it }) + .register( + { tappingInverted = it }, + { + navigator.invertMode = it + navigationModeChangedListener?.invoke() + } + ) preferences.dualPageSplitPaged() .register({ dualPageSplit = it }, { imagePropertyChangedListener?.invoke() }) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt index f59a96a918..19a121e648 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt @@ -36,7 +36,13 @@ class WebtoonConfig( .register({ navigationMode = it }, { updateNavigation(it) }) preferences.webtoonNavInverted() - .register({ tappingInverted = it }, { navigator.invertMode = it }) + .register( + { tappingInverted = it }, + { + navigator.invertMode = it + navigationModeChangedListener?.invoke() + } + ) preferences.dualPageSplitWebtoon() .register({ dualPageSplit = it }, { imagePropertyChangedListener?.invoke() })