diff --git a/OsmAnd/src/net/osmand/plus/liveupdates/LiveUpdatesFragment.java b/OsmAnd/src/net/osmand/plus/liveupdates/LiveUpdatesFragment.java index 1fc232bd47..95f5fef2e1 100644 --- a/OsmAnd/src/net/osmand/plus/liveupdates/LiveUpdatesFragment.java +++ b/OsmAnd/src/net/osmand/plus/liveupdates/LiveUpdatesFragment.java @@ -240,8 +240,10 @@ public class LiveUpdatesFragment extends BaseOsmAndFragment implements InAppList } public void notifyLiveUpdatesChanged() { - if (adapter != null && getMyApplication() != null && getActivity() != null) { - adapter.notifyLiveUpdatesChanged(); + if (getActivity() != null) { + if (adapter != null && getMyApplication() != null) { + adapter.notifyLiveUpdatesChanged(); + } } }