Commit fbf54a60 authored by Varun Patil's avatar Varun Patil

Remove locationsShown check (fix #232)

parent dc63dd15
......@@ -145,7 +145,6 @@ public class MapFragment extends Fragment implements TextWatcher,
private boolean editTextFocused = false;
private Toast toast;
private String message = "Sorry, no such place in our data.";
private boolean locationsShown = false;
private boolean GPSIsSetup = false;
private boolean followingUser = false;
private Marker user = new Marker("You", "", 0, 0, -10, "");
......@@ -233,10 +232,7 @@ public class MapFragment extends Fragment implements TextWatcher,
@Override
public void onResponse(Call<List<Venue>> call, Response<List<Venue>> response) {
if (response.isSuccessful()) {
if (!locationsShown) {
setupWithData(response.body());
locationsShown = true;
}
setupWithData(response.body());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment