mirror of
https://github.com/zebrajr/immich.git
synced 2025-12-06 00:20:20 +01:00
fix(mobile): compass button overlaps status bar (#22330)
* fix(mobile): compass button overlaps status bar * fix(mobile): disable rotation for map --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
7dc9cb121f
commit
28958ba48a
|
|
@ -185,6 +185,8 @@ class _Map extends StatelessWidget {
|
|||
initialCameraPosition: initialLocation == null
|
||||
? const CameraPosition(target: LatLng(0, 0), zoom: 0)
|
||||
: CameraPosition(target: initialLocation, zoom: MapUtils.mapZoomToAssetLevel),
|
||||
compassEnabled: false,
|
||||
rotateGesturesEnabled: false,
|
||||
styleString: style,
|
||||
onMapCreated: onMapCreated,
|
||||
onStyleLoadedCallback: onMapReady,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user