diff --git a/Meshtastic/MeshtasticApp.swift b/Meshtastic/MeshtasticApp.swift index a8195b42..48e4c020 100644 --- a/Meshtastic/MeshtasticApp.swift +++ b/Meshtastic/MeshtasticApp.swift @@ -9,13 +9,6 @@ import TipKit @main struct MeshtasticAppleApp: App { - private static var documentsFolder: URL { - do { - return try FileManager.default.url(for: .documentDirectory, in: .userDomainMask, appropriateFor: nil, create: true) - } catch { - fatalError("Can't find documents directory.") - } - } @UIApplicationDelegateAdaptor(MeshtasticAppDelegate.self) var appDelegate let persistenceController = PersistenceController.shared @ObservedObject private var bleManager: BLEManager = BLEManager() diff --git a/Meshtastic/Views/Settings/GPSStatus.swift b/Meshtastic/Views/Settings/GPSStatus.swift index 72308fd9..ea8a9c52 100644 --- a/Meshtastic/Views/Settings/GPSStatus.swift +++ b/Meshtastic/Views/Settings/GPSStatus.swift @@ -12,9 +12,7 @@ import CoreLocation struct GPSStatus: View { @ObservedObject var locationsHandler: LocationsHandler = LocationsHandler.shared - var body: some View { - let horizontalAccuracy = Measurement(value: locationsHandler.lastLocation.horizontalAccuracy, unit: UnitLength.meters) let verticalAccuracy = Measurement(value: locationsHandler.lastLocation.verticalAccuracy, unit: UnitLength.meters) let altitiude = Measurement(value: locationsHandler.lastLocation.altitude, unit: UnitLength.meters)