diff --git a/OsmAnd/src/net/osmand/plus/dashboard/DashAudioVideoNotesFragment.java b/OsmAnd/src/net/osmand/plus/dashboard/DashAudioVideoNotesFragment.java index 53fc396921..a6fd5e0cc3 100644 --- a/OsmAnd/src/net/osmand/plus/dashboard/DashAudioVideoNotesFragment.java +++ b/OsmAnd/src/net/osmand/plus/dashboard/DashAudioVideoNotesFragment.java @@ -61,6 +61,10 @@ public class DashAudioVideoNotesFragment extends DashBaseFragment { public void setupNotes() { View mainView = getView(); + if (mainView == null) { + return; + } + if (plugin == null){ (mainView.findViewById(R.id.main_notes)).setVisibility(View.GONE); return;