Skip to content

Commit

Permalink
Trigger light haptic feedback on list display type change as well
Browse files Browse the repository at this point in the history
  • Loading branch information
xiprox committed Nov 3, 2023
1 parent 23fdd17 commit 7770d39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/features/lists/lists_vm.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ class ListsViewModel extends ViewModel with StreamSubscriptionManagerMixin {
}

void onOptionDisplayTypeChange(ListDisplayType value) {
HapticFeedback.lightImpact();
_prefs.update((it) => it.lists.displayType = value);
optionDisplayType = value;
notifyListeners();
Expand Down

0 comments on commit 7770d39

Please sign in to comment.