diff --git a/covas_mobile/lib/pages/SearchDelegate.dart b/covas_mobile/lib/pages/SearchDelegate.dart index 3e5d3b5..e49b17e 100644 --- a/covas_mobile/lib/pages/SearchDelegate.dart +++ b/covas_mobile/lib/pages/SearchDelegate.dart @@ -84,7 +84,7 @@ class SearchDelegateExample extends SearchDelegate { var accessToken = prefs.getString("access_token") ?? ""; final List body = []; if (accessToken.isNotEmpty) { - DateTime currentDate = new DateTime.now(); + DateTime currentDate = DateTime.now(); var url = Uri.parse( "${globals.api}/events/search?item=${query}¤t_dateime=${currentDate.toString()}"); if (geoQuery.isNotEmpty) {