Explorar o código

android disabled map animation

Viktoriia hai 1 día
pai
achega
2fc2fecd89
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/screens/InAppScreens/MapScreen/index.tsx

+ 1 - 1
src/screens/InAppScreens/MapScreen/index.tsx

@@ -1806,7 +1806,7 @@ const MapScreen: any = ({ navigation, route }: { navigation: any; route: any })
         {selectedMarker && (
           <MarkerItem marker={selectedMarker} toggleSeries={toggleSeries} token={token} />
         )}
-        <MapLibreRN.Camera ref={cameraRef} />
+        {Platform.OS === 'ios' && <MapLibreRN.Camera ref={cameraRef} />}
         {location && (
           <MapLibreRN.UserLocation
             animated={true}