Skip to content
Snippets Groups Projects
Commit 4c0703eb authored by Sara Savanovic Djordjevic's avatar Sara Savanovic Djordjevic
Browse files

update: almost fixed

parent 80475856
No related branches found
No related tags found
No related merge requests found
...@@ -69,7 +69,9 @@ class CustomSearchDelegate extends SearchDelegate { ...@@ -69,7 +69,9 @@ class CustomSearchDelegate extends SearchDelegate {
title: Text(result), title: Text(result),
onTap: () { onTap: () {
onResultSelected(result); onResultSelected(result);
close(context, result); Future.delayed(const Duration(milliseconds: 1500), () {
close(context, result);
});
}, },
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment