diff --git a/app/src/main/java/de/jotomo/ruffyscripter/commands/CancelTbrCommand.java b/app/src/main/java/de/jotomo/ruffyscripter/commands/CancelTbrCommand.java index dfd1f93f4e..7d5acfa806 100644 --- a/app/src/main/java/de/jotomo/ruffyscripter/commands/CancelTbrCommand.java +++ b/app/src/main/java/de/jotomo/ruffyscripter/commands/CancelTbrCommand.java @@ -34,8 +34,7 @@ public class CancelTbrCommand implements Command { // to make sure we can inspect this situation. // Set enacted=true, so I record is created and AAPS stops thinking a TBR still // running and trying again to cancel it. - return new CommandResult().success(false).enacted(true) - .state(new PumpState().errorMsg("NO TBR active")); + return new CommandResult().success(false).enacted(true).message("No TBR active"); /* .success(true) .enacted(true) // technically, nothing was enacted, but AAPS needs this to recover