This commit is contained in:
Garth Vander Houwen 2023-12-22 16:43:33 -08:00
parent 658985b18a
commit 61840f5591
2 changed files with 0 additions and 9 deletions

View file

@ -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()

View file

@ -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)