Fix spotless

pull/722/head
TJ Dahunsi 2 years ago
parent 4858167b24
commit ce6eaa9d64

@ -247,8 +247,10 @@ fun Scrollbar(
pressedOffset = offset
interactionSource?.tryEmit(
if (tryAwaitRelease()) PressInteraction.Release(initialPress)
else PressInteraction.Cancel(initialPress),
when {
tryAwaitRelease() -> PressInteraction.Release(initialPress)
else -> PressInteraction.Cancel(initialPress)
},
)
// End the press

Loading…
Cancel
Save