Default precision of 14

This commit is contained in:
Garth Vander Houwen 2024-09-08 11:10:58 -07:00
parent 4f813c12d3
commit adab69dab7
2 changed files with 4 additions and 4 deletions

View file

@ -149,7 +149,7 @@ struct ChannelForm: View {
.listRowSeparator(.visible)
.onChange(of: preciseLocation) { pl in
if pl == false {
positionPrecision = 13
positionPrecision = 14
}
}
}
@ -220,7 +220,7 @@ struct ChannelForm: View {
}
positionPrecision = 32
} else {
positionPrecision = 13
positionPrecision = 14
}
hasChanges = true
}
@ -230,7 +230,7 @@ struct ChannelForm: View {
.onChange(of: positionsEnabled) { pe in
if pe {
if positionPrecision == 0 {
positionPrecision = 13
positionPrecision = 14
}
} else {
positionPrecision = 0

View file

@ -32,7 +32,7 @@ struct MQTTConfig: View {
@State var nearbyTopics = [String]()
@State var mapReportingEnabled = false
@State var mapPublishIntervalSecs = 3600
@State var mapPositionPrecision: Double = 13.0
@State var mapPositionPrecision: Double = 14.0
let locale = Locale.current