diff --git a/lib/views/home_page/home_page.dart b/lib/views/home_page/home_page.dart index 6369f91..84f63d9 100644 --- a/lib/views/home_page/home_page.dart +++ b/lib/views/home_page/home_page.dart @@ -91,12 +91,14 @@ class _BodyState extends State { placeholder: context.locale.search, controller: searchController, onChanged: (search) { - context - .read() - .add(HomeShowButtonToTopEvent(isShown: false)); - Debounce.run(() => context - .read() - .add(HomeLoadDataEvent(search: search))); + Debounce.run(() { + context + .read() + .add(HomeShowButtonToTopEvent(isShown: false)); + context + .read() + .add(HomeLoadDataEvent(search: search)); + }); }, ), ),