Skip to content

Commit 200f7b6

Browse files
committed
Remove 'Use precise location' button (GPS not grantable on LightOS)
1 parent fdfcf41 commit 200f7b6

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

  • examples/LightNYCSubway/src/main/kotlin/com/thelightphone/subway

‎examples/LightNYCSubway/src/main/kotlin/com/thelightphone/subway/HomeScreen.kt‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -410,15 +410,6 @@ private fun LocalContent(
410410
modifier = Modifier.padding(bottom = 0.25f.gridUnitsAsDp()),
411411
)
412412
}
413-
if (local.source == "approximate") {
414-
LightText(
415-
text = "Use precise location →",
416-
variant = LightTextVariant.Detail,
417-
modifier = Modifier
418-
.padding(bottom = 0.5f.gridUnitsAsDp())
419-
.lightClickable(onClick = onEnableLocation),
420-
)
421-
}
422413
if (local.items.isEmpty()) {
423414
LightText(text = "No stations found.", variant = LightTextVariant.Copy, lighten = true)
424415
} else {

0 commit comments

Comments
 (0)