From b74c4f76d49838e2f744b2db9acb9c9619047236 Mon Sep 17 00:00:00 2001 From: dqyhonghu <70987697+dqyhonghu@users.noreply.github.com> Date: Thu, 1 Aug 2024 13:23:04 +0800 Subject: [PATCH] Update SafetyPlugin.kt --- .../app/aaps/plugins/constraints/safety/SafetyPlugin.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/constraints/src/main/kotlin/app/aaps/plugins/constraints/safety/SafetyPlugin.kt b/plugins/constraints/src/main/kotlin/app/aaps/plugins/constraints/safety/SafetyPlugin.kt index 3c8584f910..a8e1a6b565 100644 --- a/plugins/constraints/src/main/kotlin/app/aaps/plugins/constraints/safety/SafetyPlugin.kt +++ b/plugins/constraints/src/main/kotlin/app/aaps/plugins/constraints/safety/SafetyPlugin.kt @@ -91,9 +91,9 @@ class SafetyPlugin @Inject constructor( } override fun isAdvancedFilteringEnabled(value: Constraint): Constraint { - val bgSource = activePlugin.activeBgSource - val ignore = sp.getBoolean(app.aaps.core.ui.R.string.key_enableSMB_ignore, false) - if (!ignore && !bgSource.advancedFilteringSupported()) value.set(false, rh.gs(R.string.smbalwaysdisabled), this) + // val bgSource = activePlugin.activeBgSource + // val ignore = sp.getBoolean(app.aaps.core.ui.R.string.key_enableSMB_ignore, false) + // if (!ignore && !bgSource.advancedFilteringSupported()) value.set(false, rh.gs(R.string.smbalwaysdisabled), this) return value }