diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboPlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboPlugin.java
index 19ecd6116c..9022f985a9 100644
--- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboPlugin.java
+++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboPlugin.java
@@ -556,8 +556,7 @@ public class ComboPlugin implements PluginBase, PumpInterface, ConstraintsInterf
tempStart.percentRate = adjustedPercent;
tempStart.isAbsolute = false;
tempStart.source = Source.USER;
- ConfigBuilderPlugin treatmentsInterface = MainApp.getConfigBuilder();
- treatmentsInterface.addToHistoryTempBasal(tempStart);
+ MainApp.getConfigBuilder().addToHistoryTempBasal(tempStart);
MainApp.bus().post(new EventComboPumpUpdateGUI());
}
@@ -771,6 +770,7 @@ public class ComboPlugin implements PluginBase, PumpInterface, ConstraintsInterf
* Checks the main screen to determine if TBR on pump matches app state.
*/
private void checkAndResolveTbrMismatch(PumpState state) {
+ // compare with: info.nightscout.androidaps.plugins.PumpDanaR.comm.MsgStatusTempBasal.updateTempBasalInDB()
long now = System.currentTimeMillis();
TemporaryBasal aapsTbr = MainApp.getConfigBuilder().getTempBasalFromHistory(now);
if (aapsTbr == null && state.tbrActive && state.tbrRemainingDuration > 2) {
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index 5c334f6db7..4475639b69 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -679,7 +679,7 @@
Pumpe ist nicht erreichbar Grenze [min]
Aktualisieren
Aktivität
- %d%% (%d verbleibend)
+ %d%% (%d Min. verbleibend)
Accu-Chek Combo settings Einstellungen
Keine Verbindung zur Pumpe seit %d min
Bolusabgabe gestopped
diff --git a/ruffyscripter/src/main/java/de/jotomo/ruffyscripter/RuffyCommandsV1Impl.java b/ruffyscripter/src/main/java/de/jotomo/ruffyscripter/RuffyCommandsV1Impl.java
index 6be28b3074..bd95aef8da 100644
--- a/ruffyscripter/src/main/java/de/jotomo/ruffyscripter/RuffyCommandsV1Impl.java
+++ b/ruffyscripter/src/main/java/de/jotomo/ruffyscripter/RuffyCommandsV1Impl.java
@@ -28,9 +28,10 @@ public class RuffyCommandsV1Impl implements RuffyCommands {
private RuffyCommandsV1Impl() {}
+ /** Not supported by RuffyScripter */
@Override
public CommandResult getDateAndTime() {
- return delegate.getDateAndTime();
+ return new CommandResult().success(false);
}
@Override
@@ -90,7 +91,7 @@ public class RuffyCommandsV1Impl implements RuffyCommands {
@Override
public CommandResult readHistory(PumpHistoryRequest request) {
- return delegate.readPumpState().history(new PumpHistory());
+ return delegate.readHistory(request);
}
@Override
diff --git a/ruffyscripter/src/main/java/de/jotomo/ruffyscripter/RuffyScripter.java b/ruffyscripter/src/main/java/de/jotomo/ruffyscripter/RuffyScripter.java
index db58b8cdc2..e9b42ad34b 100644
--- a/ruffyscripter/src/main/java/de/jotomo/ruffyscripter/RuffyScripter.java
+++ b/ruffyscripter/src/main/java/de/jotomo/ruffyscripter/RuffyScripter.java
@@ -787,7 +787,7 @@ public class RuffyScripter implements RuffyCommands {
@Override
public CommandResult getDateAndTime() {
- return new CommandResult().success(false);
+ throw new RuntimeException("Not supported");
}
@Override