From 318d5b21c8991e2000b545cf094252e66daa1c00 Mon Sep 17 00:00:00 2001 From: Mike Plante Date: Mon, 6 May 2024 11:19:56 -0400 Subject: [PATCH] fix resistanceLowersTarget Co-Authored-By: Robert --- FreeAPS/Resources/json/defaults/preferences.json | 2 +- FreeAPS/Sources/Models/Preferences.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FreeAPS/Resources/json/defaults/preferences.json b/FreeAPS/Resources/json/defaults/preferences.json index 3453e2b5e..09f4c714f 100644 --- a/FreeAPS/Resources/json/defaults/preferences.json +++ b/FreeAPS/Resources/json/defaults/preferences.json @@ -9,7 +9,7 @@ "high_temptarget_raises_sensitivity" : false, "low_temptarget_lowers_sensitivity" : false, "sensitivity_raises_target" : true, - "resistanceLowersTarget" : false, + "resistance_lowers_target" : false, "adv_target_adjustments" : false, "exercise_mode" : false, "half_basal_exercise_target" : 160, diff --git a/FreeAPS/Sources/Models/Preferences.swift b/FreeAPS/Sources/Models/Preferences.swift index 1066ecf6d..058d303f6 100644 --- a/FreeAPS/Sources/Models/Preferences.swift +++ b/FreeAPS/Sources/Models/Preferences.swift @@ -68,7 +68,7 @@ extension Preferences { case highTemptargetRaisesSensitivity = "high_temptarget_raises_sensitivity" case lowTemptargetLowersSensitivity = "low_temptarget_lowers_sensitivity" case sensitivityRaisesTarget = "sensitivity_raises_target" - case resistanceLowersTarget + case resistanceLowersTarget = "resistance_lowers_target" case advTargetAdjustments = "adv_target_adjustments" case exerciseMode = "exercise_mode" case halfBasalExerciseTarget = "half_basal_exercise_target"