implemented a central haptic feedback system with configurable levels (off, reduced, full), added a Haptics facade providing semantic feedback methods, integrated haptic cues across navigation, settings toggles, and async action results, and updated version to 1.1.0+54
This commit is contained in:
@@ -13,8 +13,10 @@ Future<bool> runWithErrorDialog(
|
||||
}) async {
|
||||
try {
|
||||
await action();
|
||||
Haptics.success();
|
||||
return true;
|
||||
} catch (e) {
|
||||
Haptics.error();
|
||||
if (!context.mounted) return false;
|
||||
final message = errorBuilder != null
|
||||
? errorBuilder(e)
|
||||
|
||||
Reference in New Issue
Block a user