mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-08-11 21:50:40 +02:00
perf(library): streamline search and grouped counts
This commit is contained in:
@@ -273,7 +273,7 @@ class _QueueTabState extends ConsumerState<QueueTab> {
|
||||
void _onSearchChanged(String value) {
|
||||
_searchDebounce?.cancel();
|
||||
final normalized = value.trim().toLowerCase();
|
||||
_searchDebounce = Timer(const Duration(milliseconds: 180), () {
|
||||
_searchDebounce = Timer(const Duration(milliseconds: 350), () {
|
||||
if (!mounted || _searchQuery == normalized) return;
|
||||
setState(() {
|
||||
_searchQuery = normalized;
|
||||
|
||||
Reference in New Issue
Block a user