mirror of
https://github.com/spotiflacapp/SpotiFLAC-Mobile.git
synced 2026-06-01 03:15:17 +07:00
feat: add haptic feedback when swiping library tabs
This commit is contained in:
parent
4f46dd947d
commit
e2a489ec92
1 changed files with 1 additions and 0 deletions
|
|
@ -1187,6 +1187,7 @@ class _QueueTabState extends ConsumerState<QueueTab> {
|
|||
}
|
||||
|
||||
void _onFilterPageChanged(int index) {
|
||||
HapticFeedback.selectionClick();
|
||||
final filterMode = _filterModes[index];
|
||||
ref.read(settingsProvider.notifier).setHistoryFilterMode(filterMode);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue