mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
A little more map cleanup
This commit is contained in:
parent
f3f126da38
commit
b0101ab4ce
2 changed files with 2 additions and 5 deletions
|
|
@ -28,7 +28,6 @@ struct MeshMapContent: MapContent {
|
|||
// Map Configuration
|
||||
@Binding var selectedPosition: PositionEntity?
|
||||
@Binding var showWaypoints: Bool
|
||||
//@Binding var editingWaypoint: WaypointEntity?
|
||||
@Binding var selectedWaypoint: WaypointEntity?
|
||||
|
||||
var delay: Double = 0
|
||||
|
|
@ -199,8 +198,6 @@ struct MeshMapContent: MapContent {
|
|||
|
||||
@MapContentBuilder
|
||||
var body: some MapContent {
|
||||
if positions.count > 0 {
|
||||
meshMap
|
||||
}
|
||||
meshMap
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ Spacer()
|
|||
.padding(.bottom)
|
||||
#endif
|
||||
}
|
||||
.presentationDetents([.fraction(0.45), .fraction(0.65)])
|
||||
.presentationDetents([.fraction(meshMap ? 0.55 : 0.45), .fraction(0.65)])
|
||||
.presentationDragIndicator(.visible)
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue