From 3c2991dd28e346453a282844f672e65cff98195c Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Fri, 27 Oct 2023 12:29:04 +0200 Subject: [PATCH] SetupWizard: fix button visibility --- .../aaps/plugins/configuration/setupwizard/elements/SWButton.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/configuration/src/main/kotlin/app/aaps/plugins/configuration/setupwizard/elements/SWButton.kt b/plugins/configuration/src/main/kotlin/app/aaps/plugins/configuration/setupwizard/elements/SWButton.kt index 0c757ba0f0..202988efb2 100644 --- a/plugins/configuration/src/main/kotlin/app/aaps/plugins/configuration/setupwizard/elements/SWButton.kt +++ b/plugins/configuration/src/main/kotlin/app/aaps/plugins/configuration/setupwizard/elements/SWButton.kt @@ -9,7 +9,7 @@ class SWButton(injector: HasAndroidInjector) : SWItem(injector, Type.BUTTON) { private var buttonRunnable: Runnable? = null private var buttonText = 0 - private var buttonValidator: (() -> Boolean)? = { false } + private var buttonValidator: (() -> Boolean)? = null private var button: Button? = null fun text(buttonText: Int): SWButton {