From 56b75cbd3cda09be2579c9863a1dd415ac36f927 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Sat, 10 Aug 2024 12:30:33 -0700 Subject: [PATCH] Match the firmware and do 3 decimal points for decimals --- Meshtastic/Views/Settings/Config/LoRaConfig.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Meshtastic/Views/Settings/Config/LoRaConfig.swift b/Meshtastic/Views/Settings/Config/LoRaConfig.swift index c98e162c..8239282c 100644 --- a/Meshtastic/Views/Settings/Config/LoRaConfig.swift +++ b/Meshtastic/Views/Settings/Config/LoRaConfig.swift @@ -49,6 +49,8 @@ struct LoRaConfig: View { let floatFormatter: NumberFormatter = { let formatter = NumberFormatter() formatter.numberStyle = .decimal + formatter.allowsFloats = true + formatter.maximumFractionDigits = 4 return formatter }()