From b6414d37865ed85a03b9a1b0858def09e5021b1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Cie=C5=9Blak?= Date: Thu, 9 Jan 2025 13:37:48 +0100 Subject: [PATCH] KeycardAddKeyPairPage: built-in timeout removed --- .../AppLayouts/Onboarding2/KeycardCreateProfileFlow.qml | 2 -- ui/app/AppLayouts/Onboarding2/OnboardingFlow.qml | 1 - .../Onboarding2/pages/KeycardAddKeyPairPage.qml | 8 -------- 3 files changed, 11 deletions(-) diff --git a/ui/app/AppLayouts/Onboarding2/KeycardCreateProfileFlow.qml b/ui/app/AppLayouts/Onboarding2/KeycardCreateProfileFlow.qml index 5fc7497f530..60db29aa7fc 100644 --- a/ui/app/AppLayouts/Onboarding2/KeycardCreateProfileFlow.qml +++ b/ui/app/AppLayouts/Onboarding2/KeycardCreateProfileFlow.qml @@ -17,7 +17,6 @@ SQUtils.QObject { required property var seedWords required property var isSeedPhraseValid - required property int splashScreenDurationMs property bool displayKeycardPromoBanner @@ -182,7 +181,6 @@ SQUtils.QObject { readonly property bool backAvailableHint: false addKeyPairState: root.addKeyPairState - timeoutInterval: root.splashScreenDurationMs onKeypairAddContinueRequested: root.finished(d.fromBackupSeedphrase) diff --git a/ui/app/AppLayouts/Onboarding2/OnboardingFlow.qml b/ui/app/AppLayouts/Onboarding2/OnboardingFlow.qml index 2fb7ffe1005..593f95ceeff 100644 --- a/ui/app/AppLayouts/Onboarding2/OnboardingFlow.qml +++ b/ui/app/AppLayouts/Onboarding2/OnboardingFlow.qml @@ -160,7 +160,6 @@ SQUtils.QObject { seedWords: root.seedWords displayKeycardPromoBanner: root.displayKeycardPromoBanner isSeedPhraseValid: root.isSeedPhraseValid - splashScreenDurationMs: root.splashScreenDurationMs onReloadKeycardRequested: root.reloadKeycardRequested() onKeycardFactoryResetRequested: root.keycardFactoryResetRequested() diff --git a/ui/app/AppLayouts/Onboarding2/pages/KeycardAddKeyPairPage.qml b/ui/app/AppLayouts/Onboarding2/pages/KeycardAddKeyPairPage.qml index 7f4b6f00d1c..5413e0ecb81 100644 --- a/ui/app/AppLayouts/Onboarding2/pages/KeycardAddKeyPairPage.qml +++ b/ui/app/AppLayouts/Onboarding2/pages/KeycardAddKeyPairPage.qml @@ -14,20 +14,12 @@ OnboardingPage { id: root required property int addKeyPairState // Onboarding.AddKeyPairState.xxx - property int timeoutInterval: 30000 signal keypairAddContinueRequested() signal keypairAddTryAgainRequested() signal reloadKeycardRequested() signal createProfilePageRequested() - Timer { - id: timer - interval: root.timeoutInterval - running: root.addKeyPairState === Onboarding.AddKeyPairState.InProgress - onTriggered: root.addKeyPairState = Onboarding.AddKeyPairState.Failed - } - states: [ State { name: "inprogress"