mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-17 00:56:39 +00:00
fix(@desktop/onboarding): erase mnemonic when register with existing key
fixes #3089
This commit is contained in:
parent
d47ddf69bb
commit
6b6ed734f6
@ -474,15 +474,6 @@ StatusAppLayout {
|
||||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: profileModel
|
||||
ignoreUnknownSignals: true
|
||||
enabled: removeMnemonicAfterLogin
|
||||
onInitialized: {
|
||||
profileModel.mnemonic.remove()
|
||||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: profileModel.contacts
|
||||
onContactRequestAdded: {
|
||||
|
10
ui/main.qml
10
ui/main.qml
@ -390,6 +390,16 @@ StatusWindow {
|
||||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: profileModel
|
||||
ignoreUnknownSignals: true
|
||||
enabled: removeMnemonicAfterLogin
|
||||
onInitialized: {
|
||||
profileModel.mnemonic.remove()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Component {
|
||||
id: genKey
|
||||
GenKey {
|
||||
|
Loading…
x
Reference in New Issue
Block a user