This commit is contained in:
Kamalnath 2025-10-25 23:28:37 +11:00 committed by GitHub
commit ec7976562a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -569,7 +569,7 @@ class NearbyParentFragmentPresenter
loadPlacesDataAyncJob?.cancel() loadPlacesDataAyncJob?.cancel()
localPlaceSearchJob = scope.launch(Dispatchers.IO) { localPlaceSearchJob = scope.launch(Dispatchers.IO) {
delay(LOCAL_SCROLL_DELAY) delay(LOCAL_SCROLL_DELAY)
val mapFocus = nearbyParentFragmentView.mapFocus val mapFocus = nearbyParentFragmentView.mapFocus ?: return@launch
val markerPlaceGroups = placesRepository.fetchPlaces( val markerPlaceGroups = placesRepository.fetchPlaces(
nearbyParentFragmentView.screenBottomLeft, nearbyParentFragmentView.screenBottomLeft,
nearbyParentFragmentView.screenTopRight nearbyParentFragmentView.screenTopRight