mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 06:16:32 +00:00
426c116bac
Use it as import shared 1.0, import shared.controls 1.0 etc instead of import "../../../shared" Closes #3934
38 lines
830 B
QML
38 lines
830 B
QML
import QtQuick 2.13
|
|
import QtQuick.Controls 2.13
|
|
|
|
import utils 1.0
|
|
|
|
import StatusQ.Controls 0.1
|
|
|
|
import shared.panels 1.0
|
|
import shared.popups 1.0
|
|
|
|
// 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()
|
|
}
|
|
}
|
|
}
|