mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2024-09-30 00:40:49 +00:00
removes logs from previous commit
This commit is contained in:
parent
e88d1d0d00
commit
c17e1f0e1f
@ -99,7 +99,6 @@ fun DismissBackground(dismissState: SwipeToDismissBoxState) {
|
|||||||
val haptic = LocalHapticFeedback.current
|
val haptic = LocalHapticFeedback.current
|
||||||
LaunchedEffect(key1 = dismissState.currentValue > dismissState.targetValue) {
|
LaunchedEffect(key1 = dismissState.currentValue > dismissState.targetValue) {
|
||||||
// doesn't run for the first time or when the list is updated.
|
// doesn't run for the first time or when the list is updated.
|
||||||
println("AABBCC ${dismissState.progress}")
|
|
||||||
if (dismissState.progress > 0 && dismissState.progress < 1) {
|
if (dismissState.progress > 0 && dismissState.progress < 1) {
|
||||||
haptic.performHapticFeedback(HapticFeedbackType.LongPress)
|
haptic.performHapticFeedback(HapticFeedbackType.LongPress)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user