소스 검색

Remove oref0 test variable

Revert
Jon B.M 3 년 전
부모
커밋
48f476744a

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
FreeAPS/Resources/javascript/bundle/profile.js


+ 0 - 2
FreeAPS/Sources/Models/Preferences.swift

@@ -19,7 +19,6 @@ struct Preferences: JSON {
     var wideBGTargetRange: Bool = false
     var skipNeutralTemps: Bool = false
     var unsuspendIfNoTemp: Bool = false
-    var bolusSnoozeDIADivisor: Decimal = 2
     var min5mCarbimpact: Decimal = 8
     var autotuneISFAdjustmentFraction: Decimal = 1.0
     var remainingCarbsFraction: Decimal = 1.0
@@ -80,7 +79,6 @@ extension Preferences {
         case wideBGTargetRange = "wide_bg_target_range"
         case skipNeutralTemps = "skip_neutral_temps"
         case unsuspendIfNoTemp = "unsuspend_if_no_temp"
-        case bolusSnoozeDIADivisor = "bolussnooze_dia_divisor"
         case min5mCarbimpact = "min_5m_carbimpact"
         case autotuneISFAdjustmentFraction = "autotune_isf_adjustmentFraction"
         case remainingCarbsFraction

+ 0 - 9
FreeAPS/Sources/Modules/PreferencesEditor/PreferencesEditorStateModel.swift

@@ -496,15 +496,6 @@ extension PreferencesEditor {
                     settable: self
                 ),
                 Field(
-                    displayName: NSLocalizedString("Bolus Snooze DIA Divisor", comment: "Bolus Snooze DIA Divisor"),
-                    type: .decimal(keypath: \.bolusSnoozeDIADivisor),
-                    infoText: NSLocalizedString(
-                        "Bolus snooze is enacted after you do a meal bolus, so the loop won’t counteract with low temps when you’ve just eaten. The example here and default is 2; so a 3 hour DIA means that bolus snooze will be gradually phased out over 1.5 hours (3DIA/2).",
-                        comment: "Bolus Snooze DIA Divisor"
-                    ),
-                    settable: self
-                ),
-                Field(
                     displayName: NSLocalizedString("Min 5m Carbimpact", comment: "Min 5m Carbimpact"),
                     type: .decimal(keypath: \.min5mCarbimpact),
                     infoText: NSLocalizedString(