chore(Onboarding): Unused pages removed from LoginWithKeycardFlow

This commit is contained in:
Michał Cieślak 2025-02-07 14:05:55 +01:00 committed by Michał
parent 7649ad45ca
commit 8e703eb02f
2 changed files with 0 additions and 35 deletions

View File

@ -22,8 +22,6 @@ SQUtils.QObject {
property bool displayKeycardPromoBanner
signal keycardPinCreated(string pin)
signal seedphraseSubmitted(string seedphrase)
signal authorizationRequested(string pin)
signal keycardFactoryResetRequested
signal unblockWithSeedphraseRequested
@ -129,35 +127,4 @@ SQUtils.QObject {
}
}
}
Component {
id: seedphrasePage
SeedphrasePage {
title: qsTr("Unblock Keycard using the recovery phrase")
btnContinueText: qsTr("Unblock Keycard")
authorizationState: root.authorizationState
isSeedPhraseValid: root.isSeedPhraseValid
onSeedphraseSubmitted: (seedphrase) => {
root.seedphraseSubmitted(seedphrase)
root.stackView.push(keycardCreatePinPage)
}
}
}
Component {
id: keycardCreatePinPage
KeycardCreatePinPage {
id: createPinPage
onKeycardPinCreated: (pin) => {
createPinPage.loading = true
Backpressure.debounce(root, root.keycardPinInfoPageDelay, () => {
root.keycardPinCreated(pin)
root.finished()
})()
}
}
}
}

View File

@ -329,8 +329,6 @@ SQUtils.QObject {
keycardPinInfoPageDelay: root.keycardPinInfoPageDelay
onKeycardPinCreated: (pin) => root.keycardPinCreated(pin)
onSeedphraseSubmitted: (seedphrase) => root.seedphraseSubmitted(seedphrase)
onCreateProfileWithEmptyKeycardRequested: keycardCreateProfileFlow.init()
onExportKeysRequested: root.exportKeysRequested()
onKeycardFactoryResetRequested: keycardFactoryResetFlow.init()