diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderSeekBar.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderSeekBar.kt index 31576a4266..fd58dc07aa 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderSeekBar.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderSeekBar.kt @@ -48,11 +48,9 @@ class ReaderSeekBar @JvmOverloads constructor( override fun onLayout(changed: Boolean, left: Int, top: Int, right: Int, bottom: Int) { super.onLayout(changed, left, top, right, bottom) - if (Build.VERSION.SDK_INT >= 29) { - if (changed) { - boundingBox.set(left, top, right, bottom) - systemGestureExclusionRects = exclusions - } + if (Build.VERSION.SDK_INT >= 29 && changed) { + boundingBox.set(left, top, right, bottom) + systemGestureExclusionRects = exclusions } } }