Prechádzať zdrojové kódy

fix hurensohn error

polscm32 1 rok pred
rodič
commit
9c3e96f79a

+ 1 - 1
Trio/Sources/Modules/PumpConfig/View/PumpConfigRootView.swift

@@ -24,7 +24,7 @@ extension PumpConfig {
                     Section(
                     Section(
                         header: Text("Pump Integration to Trio"),
                         header: Text("Pump Integration to Trio"),
                         content: {
                         content: {
-                            if bluetoothManager.bluetoothAuthorization != .authorize d{
+                            if bluetoothManager.bluetoothAuthorization != .authorized {
                                 HStack {
                                 HStack {
                                     Image(systemName: "exclamationmark.triangle.fill")
                                     Image(systemName: "exclamationmark.triangle.fill")
                                         .foregroundStyle(.red)
                                         .foregroundStyle(.red)