Merge pull request #93 from meshtastic/feature/lora_config

Version and warning update
This commit is contained in:
Garth Vander Houwen 2022-06-20 22:58:52 -07:00 committed by GitHub
commit bbbf704af2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ struct Connect: View {
var body: some View {
let firmwareVersion = bleManager.lastConnnectionVersion
let minimumVersion = "1.3.19"
let minimumVersion = "1.3.20"
let supportedVersion = firmwareVersion == "0.0.0" || minimumVersion.compare(firmwareVersion, options: .numeric) == .orderedAscending || minimumVersion.compare(firmwareVersion, options: .numeric) == .orderedSame
NavigationView {
@ -38,7 +38,7 @@ struct Connect: View {
Section(header: Text("Upgrade your Firmware").font(.title)) {
Text("🚨 1.3 ALPHA PREVIEW Your firmware version is unsupported by the preview the minimum firmware version is \(minimumVersion) this is a hard limit.").font(.subheadline).foregroundColor(.red)
Text("🚨 1.3 ALPHA PREVIEW this version of the app supports only version \(minimumVersion).").font(.subheadline).foregroundColor(.red)
}
.textCase(nil)
}

View file

@ -43,7 +43,7 @@ struct Settings: View {
}
}
Section("Radio Configuration (Non-Functional Interaction Previews)") {
Section("Radio Configuration (Non-Functional Interaction Previews except for LoRa Config)") {
NavigationLink {
DeviceConfig()