Fix hard coded radius

pull/324/merge
Alex Baker 9 years ago
parent 789f547267
commit d2d5b83d3d

@ -111,7 +111,7 @@ public class LocationPickerDialog extends InjectingDialogFragment implements Goo
if (places.getStatus().isSuccess()) {
final Place place = places.get(0);
LatLng latLng = place.getLatLng();
Geofence geofence = new Geofence(place.getName().toString(), latLng.latitude, latLng.longitude, 150);
Geofence geofence = new Geofence(place.getName().toString(), latLng.latitude, latLng.longitude, activityPreferences.getIntegerFromString(R.string.p_geofence_radius, 250));
log.info("Picked {}", geofence);
onLocationPickedHandler.onLocationPicked(geofence);
dismiss();

Loading…
Cancel
Save