Return to home page post searching for location
This commit is contained in:
parent
e5c698b7b4
commit
f10920fdbf
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ class _LocationSearchWidgetState extends State<LocationSearchWidget> {
|
|||
return LocationSearchResultWidget(suggestion['name']);
|
||||
},
|
||||
onSuggestionSelected: (suggestion) {
|
||||
Navigator.pop(context);
|
||||
Navigator.of(context).push(MaterialPageRoute(
|
||||
builder: (context) => LocationSearchResultsPage(
|
||||
ViewPort(
|
||||
|
|
Loading…
Add table
Reference in a new issue