2.5 is now a beta

This commit is contained in:
Garth Vander Houwen 2024-10-05 10:19:32 -07:00
parent 4a5c728978
commit 691fcadd99
2 changed files with 3 additions and 3 deletions

View file

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

View file

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