mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Add green marker styling
This commit is contained in:
parent
25c358b67f
commit
929c92d887
1 changed files with 4 additions and 0 deletions
|
|
@ -403,6 +403,10 @@ public class NearbyMapFragment extends CommonsDaggerSupportFragment
|
|||
vectorDrawable = VectorDrawableCompat.create(
|
||||
getContext().getResources(), R.drawable.ic_custom_bookmark_marker, getContext().getTheme()
|
||||
);
|
||||
} else if (!place.pic.trim().isEmpty()) {
|
||||
vectorDrawable = VectorDrawableCompat.create(
|
||||
getContext().getResources(), R.drawable.ic_custom_map_marker_green, getContext().getTheme()
|
||||
);
|
||||
} else {
|
||||
vectorDrawable = VectorDrawableCompat.create(
|
||||
getContext().getResources(), R.drawable.ic_custom_map_marker, getContext().getTheme()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue