Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: never do strong vibrate unless necessary

Prateek Sunal03c903fc5b71
diff --git a/mobile/apps/photos/lib/ui/collections/album/vertical_list.dart b/mobile/apps/photos/lib/ui/collections/album/vertical_list.dart
index 7704b5ead3..aeb1fdc545 100644
--- a/mobile/apps/photos/lib/ui/collections/album/vertical_list.dart
+++ b/mobile/apps/photos/lib/ui/collections/album/vertical_list.dart
@@ -107,7 +107,7 @@ class _AlbumVerticalListWidgetState extends State<AlbumVerticalListWidget> {
widget.selectedCollections.remove(collection);
} else {
widget.selectedCollections.isEmpty
- ? await HapticFeedback.vibrate()
+ ? await HapticFeedback.mediumImpact()
: null;
widget.selectedCollections.add(collection);
}
diff --git a/mobile/apps/photos/lib/ui/tabs/shared/all_quick_links_page.dart b/mobile/apps/photos/lib/ui/tabs/shared/all_quick_links_page.dart
index c489621a99..f83c2b8406 100644
--- a/mobile/apps/photos/lib/ui/tabs/shared/all_quick_links_page.dart
+++ b/mobile/apps/photos/lib/ui/tabs/shared/all_quick_links_page.dart
@@ -50,7 +50,7 @@ class _AllQuickLinksPageState extends State<AllQuickLinksPage> {
if (selectedQuickLinks.contains(c)) {
selectedQuickLinks.remove(c);
} else {
- selectedQuickLinks.isEmpty ? await HapticFeedback.vibrate() : null;
+ selectedQuickLinks.isEmpty ? await HapticFeedback.mediumImpact() : null;
selectedQuickLinks.add(c);
}
setState(() {