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() })
|
||||
|
|
Reference in a new issue