From 5389aff56749da838fb9c5438e405fee0ec28d82 Mon Sep 17 00:00:00 2001 From: Ivan Magda Date: Fri, 27 Sep 2024 23:27:03 +0900 Subject: [PATCH] ALTAPPS-1350: Add haptic feedback --- .../org/hyperskill/app/step_quiz/presentation/StepQuizReducer.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/src/commonMain/kotlin/org/hyperskill/app/step_quiz/presentation/StepQuizReducer.kt b/shared/src/commonMain/kotlin/org/hyperskill/app/step_quiz/presentation/StepQuizReducer.kt index f0ee2bbf5..36dacccf4 100644 --- a/shared/src/commonMain/kotlin/org/hyperskill/app/step_quiz/presentation/StepQuizReducer.kt +++ b/shared/src/commonMain/kotlin/org/hyperskill/app/step_quiz/presentation/StepQuizReducer.kt @@ -691,6 +691,7 @@ internal class StepQuizReducer( StepQuizResolver.isNeedRecreateAttemptForNewSubmission(state.stepQuizState.step) ) { state to setOf( + Action.ViewAction.HapticFeedback.WrongSubmission, Action.ViewAction.ScrollTo.CallToActionButton, Action.ViewAction.BounceCallToActionButton )