Fix background in dark map theme

This commit is contained in:
Alexander Sytnyk 2017-09-29 12:10:32 +03:00
parent fdbd1c32b7
commit 04a7d84933

View file

@ -63,7 +63,7 @@ public class MapMarkersListAdapter extends RecyclerView.Adapter<MapMarkerItemVie
@Override
public void onBindViewHolder(final MapMarkerItemViewHolder holder, int pos) {
boolean night = !mapActivity.getMyApplication().getSettings().isLightContent();
boolean night = mapActivity.getMyApplication().getDaynightHelper().isNightModeForMapControls();
IconsCache iconsCache = mapActivity.getMyApplication().getIconsCache();
MapMarker marker = pos == 0 ? null : getItem(pos);