From bdea68a8a9779c17b8795600186be88541c29971 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 27 Oct 2017 15:04:12 +0300 Subject: [PATCH] Fix NPE --- OsmAnd/src/net/osmand/plus/helpers/GpxImportHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/helpers/GpxImportHelper.java b/OsmAnd/src/net/osmand/plus/helpers/GpxImportHelper.java index eb34d68dc2..5b4491dbd5 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/GpxImportHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/GpxImportHelper.java @@ -648,7 +648,7 @@ public class GpxImportHelper { } if (night) { - ((TextView) mainView.findViewById(R.id.title)).setTextColor(ContextCompat.getColor(getActivity(), R.color.ctx_menu_info_text_dark)); + ((TextView) mainView.findViewById(R.id.import_gpx_title)).setTextColor(ContextCompat.getColor(getActivity(), R.color.ctx_menu_info_text_dark)); } ((ImageView) mainView.findViewById(R.id.import_as_favorites_icon)).setImageDrawable(getContentIcon(R.drawable.ic_action_fav_dark));