mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
NPE issue is not detected for now, can be solved on seperate PR
This commit is contained in:
parent
e9ebd23b67
commit
1b3ce3840e
1 changed files with 4 additions and 3 deletions
|
|
@ -449,7 +449,8 @@ public class NearbyParentFragment extends CommonsDaggerSupportFragment
|
|||
.subscribe(this::updateMapMarkers,
|
||||
throwable -> {
|
||||
Timber.d(throwable);
|
||||
showErrorMessage(getString(R.string.error_fetching_nearby_places));
|
||||
// TODO: find out why NPE occurs here
|
||||
// showErrorMessage(getString(R.string.error_fetching_nearby_places));
|
||||
setProgressBarVisibility(false);
|
||||
nearbyParentFragmentPresenter.lockUnlockNearby(false);
|
||||
}));
|
||||
|
|
@ -462,7 +463,8 @@ public class NearbyParentFragment extends CommonsDaggerSupportFragment
|
|||
.subscribe(this::updateMapMarkersForCustomLocation,
|
||||
throwable -> {
|
||||
Timber.d(throwable);
|
||||
showErrorMessage(getString(R.string.error_fetching_nearby_places));
|
||||
// TODO: find out why NPE occurs here
|
||||
// showErrorMessage(getString(R.string.error_fetching_nearby_places));
|
||||
setProgressBarVisibility(false);
|
||||
nearbyParentFragmentPresenter.lockUnlockNearby(false);
|
||||
}));
|
||||
|
|
@ -834,7 +836,6 @@ public class NearbyParentFragment extends CommonsDaggerSupportFragment
|
|||
}
|
||||
|
||||
private void showErrorMessage(String message) {
|
||||
// TODO
|
||||
ViewUtil.showLongToast(getActivity(), message);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue