Robert 1 год назад
Родитель
Сommit
67c5f35e7d

+ 3 - 3
FreeAPS/Sources/Modules/OverrideConfig/View/AddTempTargetForm.swift

@@ -181,9 +181,9 @@ struct AddTempTargetForm: View {
                                 ForEach(
                                     Array(stride(from: 80, through: 270, by: targetStep)),
                                     id: \.self
-                                ) { glucose in
-                                    Text(formattedGlucose(glucose: Decimal(glucose)))
-                                        .tag(Int(glucose))
+                                ) { glucoseTarget in
+                                    Text(formattedGlucose(glucose: Decimal(glucoseTarget)))
+                                        .tag(Int(glucoseTarget))
                                 }
                             }
                             .pickerStyle(WheelPickerStyle())