[mob][photos] haptic fixes (#6512)
## Description - [x] Never use strong haptic unless necessary ## Tests
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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(() {
|
||||
|
||||
Reference in New Issue
Block a user