From a7a2686199c10d98bc4acddeb13a21e368928c9d Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Sat, 11 Feb 2023 06:49:55 -0800 Subject: [PATCH] Remove force closing of waypoint form --- Meshtastic/Views/Map/WaypointFormView.swift | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Meshtastic/Views/Map/WaypointFormView.swift b/Meshtastic/Views/Map/WaypointFormView.swift index ff692e13..d43cf860 100644 --- a/Meshtastic/Views/Map/WaypointFormView.swift +++ b/Meshtastic/Views/Map/WaypointFormView.swift @@ -272,12 +272,6 @@ struct WaypointFormView: View { latitude = coordinate.latitude longitude = coordinate.longitude } - - if coordinate.distance(from: LocationHelper.DefaultLocation) == 0.0 { - // Too close to apple park, bail out - waypointId = 0 - dismiss() - } } } }