Skip to content

Commit 1e83d67

Browse files
authored
Merge pull request commons-app#1314 from commons-app/directNearbyUploadsZoomIssue
Fix improper zooming level on bottom sheet is expanded
2 parents 41e11b7 + 0d40ebc commit 1e83d67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/fr/free/nrw/commons/nearby/NearbyMapFragment.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ private void updateMapCameraAccordingToBottomSheet(boolean isBottomListSheetExpa
270270
.target(new LatLng(curLatLng.getLatitude() - CAMERA_TARGET_SHIFT_FACTOR,
271271
curLatLng.getLongitude())) // Sets the new camera target above
272272
// current to make it visible when sheet is expanded
273-
.zoom(mapboxMap.getCameraPosition().zoom) // Same zoom level
273+
.zoom(11) // Same zoom level
274274
.build();
275275

276276
} else {

0 commit comments

Comments
 (0)