Fix NPE
This commit is contained in:
parent
f3ec5730d6
commit
bdea68a8a9
1 changed files with 1 additions and 1 deletions
|
@ -648,7 +648,7 @@ public class GpxImportHelper {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (night) {
|
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));
|
((ImageView) mainView.findViewById(R.id.import_as_favorites_icon)).setImageDrawable(getContentIcon(R.drawable.ic_action_fav_dark));
|
||||||
|
|
Loading…
Reference in a new issue