Skip to content

Commit

Permalink
Fix weird editor quirk, bump to 3.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
tolu360 committed May 24, 2019
1 parent a1b91e5 commit 8a2c012
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ private List<Place.Field> getPlaceFields(ArrayList<Object> placeFields, boolean

if (placeFields.size() == 0 && isCurrentOrFetchPlace) {
List<Place.Field> allPlaceFields = new ArrayList<>(Arrays.asList(Place.Field.values()));
allPlaceFields.removeAll(Arrays.asList(Place.Field.OPENING_HOURS, Place.Field.PHONE_NUMBER, Place.Field.WEBSITE_URI, Place.Field.ADDRESS_COMPONENTS)));
allPlaceFields.removeAll(Arrays.asList(Place.Field.OPENING_HOURS, Place.Field.PHONE_NUMBER, Place.Field.WEBSITE_URI, Place.Field.ADDRESS_COMPONENTS));

return allPlaceFields;
}
Expand All @@ -560,7 +560,7 @@ private List<Place.Field> getPlaceFields(ArrayList<Object> placeFields, boolean
}

if (placeFields.size() != 0 && isCurrentOrFetchPlace) {
selectedFields.removeAll(Arrays.asList(Place.Field.OPENING_HOURS, Place.Field.PHONE_NUMBER, Place.Field.WEBSITE_URI, Place.Field.ADDRESS_COMPONENTS)));
selectedFields.removeAll(Arrays.asList(Place.Field.OPENING_HOURS, Place.Field.PHONE_NUMBER, Place.Field.WEBSITE_URI, Place.Field.ADDRESS_COMPONENTS));
}

return selectedFields;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "iOS/Android Google Places Widgets (Autocomplete Modals) and API Services for React Native Apps",
"main": "index.js",
"author": "Tolu Olowu (Arttitude 360) <tolu@arttitude360.com>",
"version": "3.0.4",
"version": "3.0.5",
"scripts": {},
"repository": {
"type": "git",
Expand Down

0 comments on commit 8a2c012

Please sign in to comment.