Browse Source

added comments and changed debounce duraiton to 200ms

ashilkn 2 năm trước cách đây
mục cha
commit
99f84da428
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/ui/viewer/search/search_widget.dart

+ 1 - 1
lib/ui/viewer/search/search_widget.dart

@@ -53,7 +53,7 @@ class _SearchWidgetState extends State<SearchWidget> {
   String _query = "";
   final List<SearchResult> _results = [];
   final _searchService = SearchService.instance;
-  final _debouncer = Debouncer(const Duration(milliseconds: 250));
+  final _debouncer = Debouncer(const Duration(milliseconds: 200));
 
   @override
   Widget build(BuildContext context) {