Skip to content

Commit

Permalink
KeycardAddKeyPairPage: built-in timeout removed
Browse files Browse the repository at this point in the history
  • Loading branch information
micieslak committed Jan 13, 2025
1 parent 3e0f9a4 commit b6414d3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions ui/app/AppLayouts/Onboarding2/KeycardCreateProfileFlow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ SQUtils.QObject {

required property var seedWords
required property var isSeedPhraseValid
required property int splashScreenDurationMs

property bool displayKeycardPromoBanner

Expand Down Expand Up @@ -182,7 +181,6 @@ SQUtils.QObject {
readonly property bool backAvailableHint: false

addKeyPairState: root.addKeyPairState
timeoutInterval: root.splashScreenDurationMs

onKeypairAddContinueRequested: root.finished(d.fromBackupSeedphrase)

Expand Down
1 change: 0 additions & 1 deletion ui/app/AppLayouts/Onboarding2/OnboardingFlow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ SQUtils.QObject {
seedWords: root.seedWords
displayKeycardPromoBanner: root.displayKeycardPromoBanner
isSeedPhraseValid: root.isSeedPhraseValid
splashScreenDurationMs: root.splashScreenDurationMs

onReloadKeycardRequested: root.reloadKeycardRequested()
onKeycardFactoryResetRequested: root.keycardFactoryResetRequested()
Expand Down
8 changes: 0 additions & 8 deletions ui/app/AppLayouts/Onboarding2/pages/KeycardAddKeyPairPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b6414d3

Please sign in to comment.