From 03baa422664c5594d3ff85b7a9d48138199983e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Fri, 18 Feb 2022 08:50:23 +0100 Subject: [PATCH] Handle also enter pin setup method --- nymea-app/ui/thingconfiguration/SetupWizard.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nymea-app/ui/thingconfiguration/SetupWizard.qml b/nymea-app/ui/thingconfiguration/SetupWizard.qml index e20a8efb..46b2311e 100644 --- a/nymea-app/ui/thingconfiguration/SetupWizard.qml +++ b/nymea-app/ui/thingconfiguration/SetupWizard.qml @@ -176,6 +176,7 @@ Page { switch (setupMethod) { case "SetupMethodPushButton": case "SetupMethodDisplayPin": + case "SetupMethodEnterPin": case "SetupMethodUserAndPassword": internalPageStack.push(pairingPageComponent, {text: displayMessage, setupMethod: setupMethod}) break; @@ -467,7 +468,7 @@ Page { id: pinTextField Layout.fillWidth: true Layout.leftMargin: app.margins; Layout.rightMargin: app.margins - visible: pairingPage.setupMethod === "SetupMethodDisplayPin" || pairingPage.setupMethod === "SetupMethodUserAndPassword" + visible: pairingPage.setupMethod === "SetupMethodDisplayPin" || pairingPage.setupMethod === "SetupMethodEnterPin" || pairingPage.setupMethod === "SetupMethodUserAndPassword" signup: false }