mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
dont hide waypoint form
This commit is contained in:
parent
2ce5cab3c1
commit
c5f43acec6
1 changed files with 4 additions and 5 deletions
|
|
@ -82,11 +82,10 @@ struct NodeMap: View {
|
|||
.ignoresSafeArea(.all, edges: [.top, .leading, .trailing])
|
||||
.frame(maxHeight: .infinity)
|
||||
.sheet(isPresented: $presentingWaypointForm ) {//, onDismiss: didDismissSheet) {
|
||||
if waypointCoordinate != nil {
|
||||
WaypointFormView(coordinate: waypointCoordinate!, waypointId: editingWaypoint)
|
||||
.presentationDetents([.medium, .large])
|
||||
.presentationDragIndicator(.automatic)
|
||||
}
|
||||
WaypointFormView(coordinate: waypointCoordinate ?? LocationHelper.DefaultLocation, waypointId: editingWaypoint)
|
||||
.presentationDetents([.medium, .large])
|
||||
.presentationDragIndicator(.automatic)
|
||||
|
||||
}
|
||||
}
|
||||
.navigationBarItems(leading:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue