Remove country in autocomplete

This commit is contained in:
vjrj 2018-06-11 10:04:48 +02:00
parent 188a9bc249
commit ff455964e2

View file

@ -19,7 +19,10 @@ Future<BasicLocation> openPlacesDialog(BuildContext context) async {
mode: _mode,
// FIXME
language: "es",
components: [new Component(Component.country, "es")]);
components: [
// This limit the search too much
// new Component(Component.country, "es")
]);
if (p != null) {
// get detail (lat/lng)
PlacesDetailsResponse detail = await _places.getDetailsByPlaceId(p.placeId);