Fixes #3704: Green pins seen on initial "Nearby" map, despite "Needs Photos" selected (#3721)

This commit is contained in:
Vitaly V. Pinchuk 2020-05-04 16:43:08 +03:00 committed by GitHub
parent ccdf2646b9
commit ff9f4f20e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1224,9 +1224,6 @@ public class NearbyParentFragment extends CommonsDaggerSupportFragment
* since grey icon may lead the users to believe that it is disabled or prohibited contribution
*/
private void hideAllMArkers() {
if(currentLocationMarker==null){
return;
}
VectorDrawableCompat vectorDrawable;
vectorDrawable = VectorDrawableCompat.create(
getContext().getResources(), R.drawable.ic_custom_greyed_out_marker, getContext().getTheme());