This commit is contained in:
2026-03-22 01:21:29 +03:00
parent 70c6568a1b
commit 1c3b506d4b
7 changed files with 3 additions and 35 deletions
-4
View File
@@ -18,25 +18,21 @@ class HapticService {
await prefs.setBool(_key, value);
}
// Light tap — filter chips, toggles, small interactions
static void light() {
if (!_enabled) return;
HapticFeedback.lightImpact();
}
// Medium — confirm button, apply, save
static void medium() {
if (!_enabled) return;
HapticFeedback.mediumImpact();
}
// Heavy — long press on balance card
static void heavy() {
if (!_enabled) return;
HapticFeedback.heavyImpact();
}
// Selection click — switching tabs, filter chips
static void selection() {
if (!_enabled) return;
HapticFeedback.selectionClick();