Alexey Kulish 2015-12-24 10:26:39 +03:00
parent 4e5fe31875
commit 344a0673fe

View file

@ -349,8 +349,10 @@ public class MapContextMenuFragment extends Fragment implements DownloadEvents {
AndroidUtils.setTextPrimaryColor(getMapActivity(), AndroidUtils.setTextPrimaryColor(getMapActivity(),
(TextView) view.findViewById(R.id.context_menu_line1), nightMode); (TextView) view.findViewById(R.id.context_menu_line1), nightMode);
AndroidUtils.setTextSecondaryColor(getMapActivity(), View menuLine2 = view.findViewById(R.id.context_menu_line2);
(TextView) view.findViewById(R.id.context_menu_line2), nightMode); if (menuLine2 != null) {
AndroidUtils.setTextSecondaryColor(getMapActivity(), (TextView) menuLine2, nightMode);
}
((Button) view.findViewById(R.id.title_button_top_right)) ((Button) view.findViewById(R.id.title_button_top_right))
.setTextColor(!nightMode ? getResources().getColor(R.color.map_widget_blue) : getResources().getColor(R.color.osmand_orange)); .setTextColor(!nightMode ? getResources().getColor(R.color.map_widget_blue) : getResources().getColor(R.color.osmand_orange));
AndroidUtils.setTextSecondaryColor(getMapActivity(), AndroidUtils.setTextSecondaryColor(getMapActivity(),