Skip to content

Commit ff9f4f2

Browse files
Fixes #3704: Green pins seen on initial "Nearby" map, despite "Needs Photos" selected (#3721)
1 parent ccdf264 commit ff9f4f2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

app/src/main/java/fr/free/nrw/commons/nearby/fragments/NearbyParentFragment.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,9 +1224,6 @@ public void updateMarker(boolean isBookmarked, Place place, @Nullable fr.free.nr
12241224
* since grey icon may lead the users to believe that it is disabled or prohibited contribution
12251225
*/
12261226
private void hideAllMArkers() {
1227-
if(currentLocationMarker==null){
1228-
return;
1229-
}
12301227
VectorDrawableCompat vectorDrawable;
12311228
vectorDrawable = VectorDrawableCompat.create(
12321229
getContext().getResources(), R.drawable.ic_custom_greyed_out_marker, getContext().getTheme());

0 commit comments

Comments
 (0)