mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-10-03 09:04:32 -04:00
feat(map-maplibre): start with collapsed attribution strip on seconda… (#7424)
This commit is contained in:
1 parent
6279d660d3
commit
b12ca979c8
12 files changed
+155
-17
No files matched your search
+3
-1
@@ -81,7 +81,9 @@ fun PositionLogScreen(viewModel: MetricsViewModel, onNavigateUp: () -> Unit) {
|
||||
},
|
||||
chartPart = { modifier, selectedX, _, onPointSelected ->
|
||||
val selectedTime = selectedX?.toInt()
|
||||
trackMap(destNum, positions, modifier, selectedTime) { time -> onPointSelected(time.toDouble()) }
|
||||
// Positional: trackMap is a function type, so it takes no named arguments. Collapsed credit, this being a
|
||||
// strip inside a screen whose own map is a tab away.
|
||||
trackMap(destNum, positions, modifier, selectedTime, { time -> onPointSelected(time.toDouble()) }, false)
|
||||
},
|
||||
listPart = { modifier, selectedX, lazyListState, onCardClick ->
|
||||
LazyColumn(modifier = modifier.fillMaxSize(), state = lazyListState) {
|
||||
|
||||
Reference in new issue
Block a user