shared(location): add expect/actual LastLocationStore (GeoPoint)

app(util): adapt LastLocationStore to delegate to shared store while keeping android.location.Location API
This commit is contained in:
2025-09-14 23:01:00 +02:00
parent ac451816e0
commit c65f230665
3 changed files with 28 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
package app.klottr.location
/** Android-implementationen håller bara ett volatilt fält. */
actual object LastLocationStore {
@Volatile
actual var lastKnown: GeoPoint? = null
}