Skip to content

Commit 813e6b1

Browse files
YarosMallorcaalextran1502
authored andcommitted
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 <[email protected]>
1 parent abbd567 commit 813e6b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mobile/lib/presentation/widgets/map/map.widget.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ class _Map extends StatelessWidget {
185185
initialCameraPosition: initialLocation == null
186186
? const CameraPosition(target: LatLng(0, 0), zoom: 0)
187187
: CameraPosition(target: initialLocation, zoom: MapUtils.mapZoomToAssetLevel),
188+
compassEnabled: false,
189+
rotateGesturesEnabled: false,
188190
styleString: style,
189191
onMapCreated: onMapCreated,
190192
onStyleLoadedCallback: onMapReady,

0 commit comments

Comments
 (0)