mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 06:43:56 +01:00 
			
		
		
		
	Fixed minor bug
This commit is contained in:
		
							parent
							
								
									6258163631
								
							
						
					
					
						commit
						b1c98b0dcd
					
				
					 1 changed files with 9 additions and 5 deletions
				
			
		|  | @ -610,11 +610,15 @@ public class NearbyParentFragment extends CommonsDaggerSupportFragment | |||
|             if (locationPermissionsHelper.checkLocationPermission(getActivity())) { | ||||
|                 if (lastFocusLocation == null && lastKnownLocation == null) { | ||||
|                     locationPermissionGranted(); | ||||
|                 } else if (updatedPlacesList != null) { | ||||
|                     if (updatedPlacesList.size() != 0) { | ||||
|                         loadPlacesDataAsync(updatedPlacesList, updatedLatLng); | ||||
|                     } else { | ||||
|                         updateMapMarkers(updatedPlacesList, getLastMapFocus(), false); | ||||
|                 } else{ | ||||
|                     if (updatedPlacesList != null) { | ||||
|                         if (!updatedPlacesList.isEmpty()) { | ||||
|                             loadPlacesDataAsync(updatedPlacesList, updatedLatLng); | ||||
|                         } else { | ||||
|                             updateMapMarkers(updatedPlacesList, getLastMapFocus(), false); | ||||
|                         } | ||||
|                     }else { | ||||
|                         locationPermissionGranted(); | ||||
|                     } | ||||
|                 } | ||||
|             } else { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kanahia
						Kanahia