mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
parent
799824ee1f
commit
ef3daed651
2 changed files with 2 additions and 2 deletions
|
@ -999,7 +999,7 @@ class ReaderActivity : BaseRxActivity<ReaderPresenter>() {
|
|||
lastShiftDoubleState?.let { newViewer.config.shiftDoublePage = it }
|
||||
}
|
||||
|
||||
binding.navigationOverlay.isLTR = viewer !is L2RPagerViewer
|
||||
binding.navigationOverlay.isLTR = viewer !is R2LPagerViewer
|
||||
binding.viewerContainer.setBackgroundColor(
|
||||
if (viewer is WebtoonViewer) {
|
||||
Color.BLACK
|
||||
|
|
|
@ -16,7 +16,7 @@ abstract class ViewerNavigation {
|
|||
|
||||
fun directionalRegion(LTR: Boolean): NavigationRegion {
|
||||
return if (this === LEFT || this === RIGHT) {
|
||||
if (if (LTR) this === LEFT else this === RIGHT) NEXT else PREV
|
||||
if (if (LTR) this === RIGHT else this === LEFT) NEXT else PREV
|
||||
} else this
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue