Skip to content

Commit b5fa302

Browse files
committed
iOS: StepQuizCodeBlanksActionButton update effects condition
1 parent c799cfa commit b5fa302

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

iosHyperskillApp/iosHyperskillApp/Sources/Modules/StepQuizSubmodules/StepQuizCodeBlanks/Views/CodeBlocks/ActionButtons/StepQuizCodeBlanksActionButton.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ struct StepQuizCodeBlanksActionButton: View {
3535
)
3636
.foregroundColor(Color(ColorPalette.onPrimary))
3737
.cornerRadius(appearance.cornerRadius)
38-
.shineEffect(isActive: isAnimationEffectActive)
38+
.shineEffect(isActive: isEnabled && isAnimationEffectActive)
3939
.pulseEffect(
4040
shape: RoundedRectangle(cornerRadius: appearance.cornerRadius),
41-
isActive: isAnimationEffectActive
41+
isActive: isEnabled && isAnimationEffectActive
4242
)
4343
}
4444
)

0 commit comments

Comments
 (0)