mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-24 04:28:58 +00:00
- the manual "I've insterted a keycard" reload buttons are no longer needed; we can rely solely on the HW keycard state - when doing a "Restart", also reset the internal mock/store states Fixes #17234
30 lines
824 B
QML
30 lines
824 B
QML
import QtQuick 2.15
|
||
|
||
import StatusQ.Core.Theme 0.1
|
||
|
||
import AppLayouts.Onboarding2.controls 1.0
|
||
|
||
KeycardBasePage {
|
||
id: root
|
||
|
||
signal loginWithThisKeycardRequested()
|
||
signal keycardFactoryResetRequested()
|
||
|
||
title: qsTr("Keycard is not empty")
|
||
subtitle: qsTr("You can’t use it to store new keys right now")
|
||
image.source: Theme.png("onboarding/keycard/error")
|
||
|
||
buttons: [
|
||
MaybeOutlineButton {
|
||
text: qsTr("Log in with this Keycard")
|
||
anchors.horizontalCenter: parent.horizontalCenter
|
||
onClicked: root.loginWithThisKeycardRequested()
|
||
},
|
||
MaybeOutlineButton {
|
||
text: qsTr("Factory reset Keycard")
|
||
anchors.horizontalCenter: parent.horizontalCenter
|
||
onClicked: root.keycardFactoryResetRequested()
|
||
}
|
||
]
|
||
}
|