Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix: update haptic feedback when reached zero

AmanRajSinghMourya1d25f23053f5
diff --git a/mobile/apps/photos/lib/ui/tools/editor/image_editor/image_editor_tune_bar.dart b/mobile/apps/photos/lib/ui/tools/editor/image_editor/image_editor_tune_bar.dart
index d3cafa0bc5..7dcf73d4ed 100644
--- a/mobile/apps/photos/lib/ui/tools/editor/image_editor/image_editor_tune_bar.dart
+++ b/mobile/apps/photos/lib/ui/tools/editor/image_editor/image_editor_tune_bar.dart
@@ -241,7 +241,7 @@ class _CircularProgressWithValueState extends State<CircularProgressWithValue>
super.didUpdateWidget(oldWidget);
if ((oldWidget.value < 0 && widget.value >= 0) ||
(oldWidget.value > 0 && widget.value <= 0)) {
- HapticFeedback.mediumImpact();
+ HapticFeedback.vibrate();
}
if (oldWidget.value != widget.value) {
_previousValue = oldWidget.value;