This commit is contained in:
andrethiele 2021-04-23 13:26:05 +02:00
parent 780c7f1f65
commit 4063d4a375

View file

@ -24,10 +24,7 @@ fun ISSPositionScreen() {
val lifecycleOwner = LocalLifecycleOwner.current
val issPosition by peopleInSpaceViewModel.issPosition
.collectAsStateWithLifecycle(
owner = lifecycleOwner,
initial = IssPosition(0.0, 0.0)
)
.collectAsStateWithLifecycle(lifecycleOwner, IssPosition(0.0, 0.0))
val context = LocalContext.current
val map = remember { MapView(context) }