From 732f2b4b406a3923a43227a91904a1342d5f1e00 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Fri, 4 Nov 2022 10:34:21 +0100 Subject: [PATCH] RandomBgPlugin enable --- .../nightscout/androidaps/plugins/source/RandomBgPlugin.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/source/RandomBgPlugin.kt b/app/src/main/java/info/nightscout/androidaps/plugins/source/RandomBgPlugin.kt index 751c4463fb..deff869400 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/source/RandomBgPlugin.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/source/RandomBgPlugin.kt @@ -89,8 +89,7 @@ class RandomBgPlugin @Inject constructor( } override fun specialEnableCondition(): Boolean { - return isRunningTest() || virtualPumpPlugin.isEnabled() && buildHelper.isEngineeringMode() -// return true + return isRunningTest() || buildHelper.isUnfinishedMode() || virtualPumpPlugin.isEnabled() && buildHelper.isEngineeringMode() } private fun handleNewData() {