Fix nearby crash due while loading (#2315)

This commit is contained in:
Vivek Maskara 2019-01-24 13:51:28 +05:30 committed by Josephine Lim
parent e389a95592
commit ddc83f1f22

View file

@ -316,7 +316,7 @@ public class NearbyFragment extends CommonsDaggerSupportFragment
updateMapFragment(false,true, null, null);
}
if (nearbyMapFragment != null) {
if (nearbyMapFragment != null && nearbyMapFragment.searchThisAreaButton != null) {
nearbyMapFragment.searchThisAreaButton.setVisibility(View.GONE);
}
}