File tree Expand file tree Collapse file tree
app/src/main/java/me/ash/reader/ui/page/home Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ fun BoxScope.PullToLoadIndicator(
7373 LaunchedEffect (status) {
7474 when {
7575 canLoadNext && status == PulledUp -> {
76- hapticFeedback.performHapticFeedback(HapticFeedbackType .LongPress )
76+ hapticFeedback.performHapticFeedback(HapticFeedbackType .GestureThresholdActivate )
7777 }
7878
7979 else -> {}
Original file line number Diff line number Diff line change @@ -48,11 +48,11 @@ fun BoxScope.PullToLoadIndicator(
4848 LaunchedEffect (status) {
4949 when {
5050 canLoadPrevious && status == PulledDown -> {
51- hapticFeedback.performHapticFeedback(HapticFeedbackType .LongPress )
51+ hapticFeedback.performHapticFeedback(HapticFeedbackType .GestureThresholdActivate )
5252 }
5353
5454 canLoadNext && status == PulledUp -> {
55- hapticFeedback.performHapticFeedback(HapticFeedbackType .LongPress )
55+ hapticFeedback.performHapticFeedback(HapticFeedbackType .GestureThresholdActivate )
5656 }
5757
5858 else -> {}
You can’t perform that action at this time.
0 commit comments