mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix(mobile): map crashes on Android (#10773)
Revert "fix(mobile): upgrade maplibre_gl package to fix issue with crash in ios7.4 above simulator (#10182)"
This reverts commit 99c6fdbc1c.
This commit is contained in:
parent
14d94df1b8
commit
f23401d911
8 changed files with 46 additions and 39 deletions
|
|
@ -24,7 +24,7 @@ class MapLocationPickerPage extends HookConsumerWidget {
|
|||
@override
|
||||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
final selectedLatLng = useValueNotifier<LatLng>(initialLatLng);
|
||||
final controller = useRef<MapLibreMapController?>(null);
|
||||
final controller = useRef<MaplibreMapController?>(null);
|
||||
final marker = useRef<Symbol?>(null);
|
||||
|
||||
Future<void> onStyleLoaded() async {
|
||||
|
|
@ -74,7 +74,7 @@ class MapLocationPickerPage extends HookConsumerWidget {
|
|||
bottomRight: Radius.circular(40),
|
||||
),
|
||||
),
|
||||
child: MapLibreMap(
|
||||
child: MaplibreMap(
|
||||
initialCameraPosition:
|
||||
CameraPosition(target: initialLatLng, zoom: 12),
|
||||
styleString: style,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue