mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-20 18:48:47 +00:00
chore(Onboarding): Unused pages removed from LoginWithKeycardFlow
This commit is contained in:
parent
7649ad45ca
commit
8e703eb02f
@ -22,8 +22,6 @@ SQUtils.QObject {
|
|||||||
|
|
||||||
property bool displayKeycardPromoBanner
|
property bool displayKeycardPromoBanner
|
||||||
|
|
||||||
signal keycardPinCreated(string pin)
|
|
||||||
signal seedphraseSubmitted(string seedphrase)
|
|
||||||
signal authorizationRequested(string pin)
|
signal authorizationRequested(string pin)
|
||||||
signal keycardFactoryResetRequested
|
signal keycardFactoryResetRequested
|
||||||
signal unblockWithSeedphraseRequested
|
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()
|
|
||||||
})()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -329,8 +329,6 @@ SQUtils.QObject {
|
|||||||
|
|
||||||
keycardPinInfoPageDelay: root.keycardPinInfoPageDelay
|
keycardPinInfoPageDelay: root.keycardPinInfoPageDelay
|
||||||
|
|
||||||
onKeycardPinCreated: (pin) => root.keycardPinCreated(pin)
|
|
||||||
onSeedphraseSubmitted: (seedphrase) => root.seedphraseSubmitted(seedphrase)
|
|
||||||
onCreateProfileWithEmptyKeycardRequested: keycardCreateProfileFlow.init()
|
onCreateProfileWithEmptyKeycardRequested: keycardCreateProfileFlow.init()
|
||||||
onExportKeysRequested: root.exportKeysRequested()
|
onExportKeysRequested: root.exportKeysRequested()
|
||||||
onKeycardFactoryResetRequested: keycardFactoryResetFlow.init()
|
onKeycardFactoryResetRequested: keycardFactoryResetFlow.init()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user