From 691fcadd99788aafc3c8c2dcfd625856e9a154a1 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Sat, 5 Oct 2024 10:19:32 -0700 Subject: [PATCH] 2.5 is now a beta --- Meshtastic/Views/Settings/Config/DeviceConfig.swift | 4 ++-- Meshtastic/Views/Settings/Firmware.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Meshtastic/Views/Settings/Config/DeviceConfig.swift b/Meshtastic/Views/Settings/Config/DeviceConfig.swift index 4a0e7234f..fd6376594 100644 --- a/Meshtastic/Views/Settings/Config/DeviceConfig.swift +++ b/Meshtastic/Views/Settings/Config/DeviceConfig.swift @@ -100,7 +100,7 @@ struct DeviceConfig: View { Label("Time Zone", systemImage: "clock.badge.exclamationmark") TextField("Time Zone", text: $tzdef, axis: .vertical) .foregroundColor(.gray) - .onChange(of: tzdef, perform: { _ in + .onChange(of: tzdef) { _ in var totalBytes = tzdef.utf8.count // Only mess with the value if it is too big while totalBytes > 63 { @@ -114,7 +114,7 @@ struct DeviceConfig: View { .disableAutocorrection(true) Text("Time zone for dates on the device screen and log.") .foregroundColor(.gray) - .font(.callout) + .font(.callout) } } Section(header: Text("GPIO")) { diff --git a/Meshtastic/Views/Settings/Firmware.swift b/Meshtastic/Views/Settings/Firmware.swift index 9a4507759..9962e69d4 100644 --- a/Meshtastic/Views/Settings/Firmware.swift +++ b/Meshtastic/Views/Settings/Firmware.swift @@ -13,7 +13,7 @@ struct Firmware: View { @Environment(\.managedObjectContext) var context @EnvironmentObject var bleManager: BLEManager var node: NodeInfoEntity? - @State var minimumVersion = "2.4.2" + @State var minimumVersion = "2.5.4" @State var version = "" @State private var currentDevice: DeviceHardware? @State private var latestStable: FirmwareRelease?