Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit ff103e75 authored by Marvin W.'s avatar Marvin W. 🐿️
Browse files

Map: Fix own location not displayed in some apps

parent 99ce591c
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -734,8 +734,6 @@ class GoogleMapImpl(context: Context, var options: GoogleMapOptions) : AbstractG
                    renderMode = RenderMode.COMPASS
                    renderMode = RenderMode.COMPASS
                }
                }


                setMyLocationEnabled(locationEnabled)

                synchronized(mapLock) {
                synchronized(mapLock) {
                    loaded = true
                    loaded = true
                    if (loadedCallback != null) {
                    if (loadedCallback != null) {
@@ -743,6 +741,8 @@ class GoogleMapImpl(context: Context, var options: GoogleMapOptions) : AbstractG
                        loadedCallback?.onMapLoaded()
                        loadedCallback?.onMapLoaded()
                    }
                    }
                }
                }

                isMyLocationEnabled = locationEnabled
            }
            }
        }
        }
    }
    }