commit
b3675f21b1
1 changed files with 4 additions and 2 deletions
|
@ -240,10 +240,12 @@ public class LiveUpdatesFragment extends BaseOsmAndFragment implements InAppList
|
|||
}
|
||||
|
||||
public void notifyLiveUpdatesChanged() {
|
||||
if (adapter != null && getMyApplication() != null && getActivity() != null) {
|
||||
if (getActivity() != null) {
|
||||
if (adapter != null && getMyApplication() != null) {
|
||||
adapter.notifyLiveUpdatesChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue