Skip to content

Commit 7d42744

Browse files
committed
Reduce vibration for fallbackDuration on <API 30
1 parent 45f1759 commit 7d42744

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/src/main/java/com/wstxda/switchai/ui/utils/VibrationService.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ object VibrationService {
1616
fun Context.openAssistantVibration() {
1717
if (!isVibrationEnabled()) return
1818
performVibration(
19-
effectId = getEffectClick(), fallbackDuration = 40
19+
effectId = getEffectClick(), fallbackDuration = 12
2020
)
2121
}
2222

2323
fun Context.buttonVibration() {
2424
performVibration(
25-
effectId = getEffectTick(), fallbackDuration = 20
25+
effectId = getEffectTick(), fallbackDuration = 8
2626
)
2727
}
2828

0 commit comments

Comments
 (0)