unify location enabled / disabled

This commit is contained in:
callebtc
2025-10-18 01:34:53 +02:00
parent c3a1cc5513
commit 9ba5d11229
2 changed files with 10 additions and 0 deletions
@@ -85,6 +85,9 @@ private fun LocationNotesErrorSheet(
)
Spacer(modifier = Modifier.height(24.dp))
Button(onClick = {
// UNIFIED FIX: Enable location services first (user toggle)
locationManager.enableLocationServices()
// Then request location channels (which will also request permission if needed)
locationManager.enableLocationChannels()
locationManager.refreshChannels()
}) {