This commit is contained in:
Alexander Sytnyk 2017-07-24 14:17:04 +03:00
parent da7871dfca
commit 7e4d664cab

View file

@ -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();
}
}
}