Add more haptic feedback

This commit is contained in:
problematicconsumer
2024-02-18 18:24:42 +03:30
parent c402a9e292
commit 4b8ea0f375
4 changed files with 25 additions and 0 deletions

View File

@@ -32,4 +32,10 @@ class HapticService extends _$HapticService {
await HapticFeedback.mediumImpact();
}
}
Future<void> heavyImpact() async {
if (state) {
await HapticFeedback.heavyImpact();
}
}
}