Merge pull request #863 from meshtastic/frequency-offset-decimals

Match the firmware and do 3 decimal points for decimals
This commit is contained in:
Garth Vander Houwen 2024-08-10 12:33:50 -07:00 committed by GitHub
commit 64d5809fb1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,6 +49,8 @@ struct LoRaConfig: View {
let floatFormatter: NumberFormatter = {
let formatter = NumberFormatter()
formatter.numberStyle = .decimal
formatter.allowsFloats = true
formatter.maximumFractionDigits = 4
return formatter
}()