change to using key convention

This commit is contained in:
Tim Gunn 2018-10-26 18:49:18 +13:00
parent 4592f290db
commit 84716eb777
2 changed files with 2 additions and 2 deletions

View file

@ -256,7 +256,7 @@ public class DetermineBasalAdapterSMBJS {
mProfile.put("enableSMB_after_carbs", SP.getBoolean(R.string.key_enableSMB_after_carbs, false) && advancedFiltering); mProfile.put("enableSMB_after_carbs", SP.getBoolean(R.string.key_enableSMB_after_carbs, false) && advancedFiltering);
mProfile.put("maxSMBBasalMinutes", SP.getInt("key_smbmaxminutes", SMBDefaults.maxSMBBasalMinutes)); mProfile.put("maxSMBBasalMinutes", SP.getInt("key_smbmaxminutes", SMBDefaults.maxSMBBasalMinutes));
mProfile.put("maxUAMSMBBasalMinutes", SP.getInt("key_uamsmbmaxminutes", SMBDefaults.maxUAMSMBBasalMinutes)); mProfile.put("maxUAMSMBBasalMinutes", SP.getInt("key_uamsmbmaxminutes", SMBDefaults.maxUAMSMBBasalMinutes));
mProfile.put("bolus_increment", SP.getDouble("bolus_increment", SMBDefaults.bolus_increment)); mProfile.put("bolus_increment", SP.getDouble("key_bolus_increment", SMBDefaults.bolus_increment));
mProfile.put("carbsReqThreshold", SMBDefaults.carbsReqThreshold); mProfile.put("carbsReqThreshold", SMBDefaults.carbsReqThreshold);
mProfile.put("current_basal", basalrate); mProfile.put("current_basal", basalrate);

View file

@ -804,7 +804,7 @@
<string name="smbmaxminutes_summary">Max minutes of basal to limit SMB to</string> <string name="smbmaxminutes_summary">Max minutes of basal to limit SMB to</string>
<string name="uamsmbmaxminutes" translatable="false">45 60 75 90 105 120</string> <string name="uamsmbmaxminutes" translatable="false">45 60 75 90 105 120</string>
<string name="uamsmbmaxminutes_summary">Max minutes of basal to limit SMB to for UAM</string> <string name="uamsmbmaxminutes_summary">Max minutes of basal to limit SMB to for UAM</string>
<string name="bolus_increment" translatable="false">0.1</string> <string name="key_bolus_increment" translatable="false">bolus_increment</string>
<string name="bolus_increment_summary">Minimum bolus that can be delivered as an SMB</string> <string name="bolus_increment_summary">Minimum bolus that can be delivered as an SMB</string>
<string name="unsupportedfirmware">Unsupported pump firmware</string> <string name="unsupportedfirmware">Unsupported pump firmware</string>
<string name="dexcomg5_xdripupload_title">Send BG data to xDrip+</string> <string name="dexcomg5_xdripupload_title">Send BG data to xDrip+</string>