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

37 lines
849 B
QML
Raw Normal View History

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