2020-06-25 09:06:31 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
import QtQuick.Controls 2.13
|
2021-09-28 15:04:06 +00:00
|
|
|
|
|
|
|
import utils 1.0
|
2021-10-12 18:26:02 +00:00
|
|
|
|
2021-10-20 12:23:58 +00:00
|
|
|
import StatusQ.Controls 0.1
|
|
|
|
|
2021-10-27 21:27:49 +00:00
|
|
|
import shared.panels 1.0
|
|
|
|
import shared.popups 1.0
|
2020-06-25 09:06:31 +00:00
|
|
|
|
2021-10-14 11:33:34 +00:00
|
|
|
// TODO: replace with StatusModal
|
2020-06-25 09:06:31 +00:00
|
|
|
ModalPopup {
|
|
|
|
id: popup
|
2020-07-06 20:39:55 +00:00
|
|
|
//% "Invalid seed phrase"
|
|
|
|
title: qsTrId("custom-seed-phrase")
|
2020-06-25 09:06:31 +00:00
|
|
|
height: 200
|
|
|
|
property string error: "Invalid seed phrase."
|
|
|
|
|
|
|
|
StyledText {
|
2020-07-06 20:39:55 +00:00
|
|
|
text: popup.error
|
2020-06-25 09:06:31 +00:00
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
font.pixelSize: 15
|
|
|
|
}
|
|
|
|
|
2021-01-28 11:04:10 +00:00
|
|
|
footer: StatusButton {
|
2020-06-25 09:06:31 +00:00
|
|
|
anchors.right: parent.right
|
2020-07-02 15:14:31 +00:00
|
|
|
anchors.rightMargin: Style.current.smallPadding
|
2020-07-06 20:39:55 +00:00
|
|
|
//% "Cancel"
|
2021-01-28 11:04:10 +00:00
|
|
|
text: qsTrId("browsing-cancel")
|
2020-06-25 09:06:31 +00:00
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
onClicked: {
|
|
|
|
popup.close()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|