status-desktop/ui/app/AppLayouts/Onboarding/popups/ConfirmAddExistingKeyModal.qml

38 lines
850 B
QML

import QtQuick 2.13
import QtQuick.Controls 2.13
import utils 1.0
import StatusQ.Controls 0.1
import "../../../../shared/popups"
import "../../../../shared/panels"
// TODO: replace with StatusModal
ModalPopup {
property var onOpenModalClick: function () {}
id: popup
//% "Enter seed phrase"
title: qsTrId("enter-seed-phrase")
height: 200
StyledText {
text: "Do you want to add another existing key?"
anchors.left: parent.left
anchors.top: parent.top
}
footer: StatusButton {
anchors.bottom: parent.bottom
anchors.topMargin: Style.current.padding
anchors.right: parent.right
anchors.rightMargin: Style.current.padding
text: "Add another existing key"
onClicked : {
onOpenModalClick()
popup.close()
}
}
}