Version and warning update

This commit is contained in:
Garth Vander Houwen 2022-06-20 22:56:26 -07:00
parent 06fdd14c2d
commit 26c7f8635f

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)
}