diff --git a/insight/src/main/java/info/nightscout/androidaps/plugins/pump/insight/LocalInsightPlugin.java b/insight/src/main/java/info/nightscout/androidaps/plugins/pump/insight/LocalInsightPlugin.java
index 701d8462a8..d6456c177c 100644
--- a/insight/src/main/java/info/nightscout/androidaps/plugins/pump/insight/LocalInsightPlugin.java
+++ b/insight/src/main/java/info/nightscout/androidaps/plugins/pump/insight/LocalInsightPlugin.java
@@ -232,8 +232,8 @@ public class LocalInsightPlugin extends PumpPluginBase implements Pump, Constrai
pumpDescription = new PumpDescription();
pumpDescription.fillFor(PumpType.ACCU_CHEK_INSIGHT);
- lastBolusTimestamp = sp.getLong(R.string.key_insight_lastbolustimestamp,0L);
- lastBolusAmount = sp.getDouble(R.string.key_insight_lastbolusamount, 0.0);
+ lastBolusTimestamp = sp.getLong(R.string.key_insight_last_bolus_timestamp,0L);
+ lastBolusAmount = sp.getDouble(R.string.key_insight_last_bolus_amount, 0.0);
}
public TBROverNotificationBlock getTBROverNotificationBlock() {
@@ -1444,9 +1444,9 @@ public class LocalInsightPlugin extends PumpPluginBase implements Pump, Constrai
PumpType.ACCU_CHEK_INSIGHT,
serial);
lastBolusTimestamp = bolusID.getTimestamp();
- sp.putLong(R.string.key_insight_lastbolustimestamp,lastBolusTimestamp);
+ sp.putLong(R.string.key_insight_last_bolus_timestamp,lastBolusTimestamp);
lastBolusAmount = event.getImmediateAmount();
- sp.putDouble(R.string.key_insight_lastbolusamount, lastBolusAmount);
+ sp.putDouble(R.string.key_insight_last_bolus_amount, lastBolusAmount);
}
if (event.getBolusType() == BolusType.EXTENDED || event.getBolusType() == BolusType.MULTIWAVE) {
if (event.getDuration() > 0 && profileFunction.getProfile(bolusID.getTimestamp()) != null)
diff --git a/insight/src/main/res/values/strings.xml b/insight/src/main/res/values/strings.xml
index 8c5ec31fdf..8b68682367 100644
--- a/insight/src/main/res/values/strings.xml
+++ b/insight/src/main/res/values/strings.xml
@@ -47,8 +47,8 @@
insight_min_recovery_duration
insight_max_recovery_duration
insight_disconnect_delay
- insight_lastbolusamount
- insight_lastbolustimestamp
+ insight_lastbolusamount
+ insight_lastbolustimestamp
Disable vibrations on automated bolus delivery
For SMB and Temp Basal with TBR emulation (only available with Insight firmware 3.x)
Timeout during handshake - reset bluetooth