Skip to content

Commit 1b1e00c

Browse files
committed
Fix ktlint wrapping issues in MainPlayerGestureListener.kt
1 parent d04934d commit 1b1e00c

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

app/src/main/java/org/schabi/newpipe/player/gesture/MainPlayerGestureListener.kt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,13 @@ class MainPlayerGestureListener(
209209
(accumulatedSeek * SEEK_SWIPE_FACTOR).toLong()
210210
} else {
211211
val beyond = abs(accumulatedSeek) - thresholdPx
212-
(sign(accumulatedSeek) *
213-
(SEEK_SWIPE_FAST_THRESHOLD_MS +
214-
beyond * SEEK_SWIPE_FACTOR * SEEK_SWIPE_FAST_MULTIPLIER)).toLong()
212+
(
213+
sign(accumulatedSeek) *
214+
(
215+
SEEK_SWIPE_FAST_THRESHOLD_MS +
216+
beyond * SEEK_SWIPE_FACTOR * SEEK_SWIPE_FAST_MULTIPLIER
217+
)
218+
).toLong()
215219
}
216220

217221
swipeSeekTargetPosition = (swipeSeekStartPosition + deltaMs).coerceIn(0L, duration)

0 commit comments

Comments
 (0)