Fix more button in markers topbar with one active marker
This commit is contained in:
parent
f0529e06e2
commit
c14025c444
1 changed files with 2 additions and 1 deletions
|
@ -93,7 +93,8 @@ public class MapMarkersWidgetsFactory {
|
|||
});
|
||||
|
||||
IconsCache iconsCache = map.getMyApplication().getIconsCache();
|
||||
if (isLandscapeLayout() && helper.getMapMarkers().size() > 1) {
|
||||
if (isLandscapeLayout() && helper.getMapMarkers().size() > 1
|
||||
&& !(map.getMyApplication().getSettings().DISPLAYED_MARKERS_WIDGETS_COUNT.get() == 1)) {
|
||||
moreButton.setVisibility(View.GONE);
|
||||
} else {
|
||||
moreButton.setImageDrawable(iconsCache.getIcon(R.drawable.ic_action_markers_list, R.color.marker_top_2nd_line_color));
|
||||
|
|
Loading…
Reference in a new issue