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 }