mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-23 21:27:40 +03:00
parent
cc6ae9d1a8
commit
437c995d12
2 changed files with 14 additions and 2 deletions
|
@ -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() })
|
||||
|
|
|
@ -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() })
|
||||
|
|
Loading…
Reference in a new issue