Merge pull request #1314 from commons-app/directNearbyUploadsZoomIssue

Fix improper zooming level on bottom sheet is expanded
This commit is contained in:
Josephine Lim 2018-03-18 21:15:48 +10:00 committed by GitHub
commit 1e83d67c37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -270,7 +270,7 @@ public class NearbyMapFragment extends DaggerFragment {
.target(new LatLng(curLatLng.getLatitude() - CAMERA_TARGET_SHIFT_FACTOR,
curLatLng.getLongitude())) // Sets the new camera target above
// current to make it visible when sheet is expanded
.zoom(mapboxMap.getCameraPosition().zoom) // Same zoom level
.zoom(11) // Same zoom level
.build();
} else {