31 lines
686 B
QML
31 lines
686 B
QML
import QtQuick 2.13
|
|
import QtQuick.Controls 2.13
|
|
import "../imports"
|
|
import "../shared"
|
|
|
|
ModalPopup {
|
|
id: popup
|
|
//% "Invalid seed phrase"
|
|
title: qsTrId("custom-seed-phrase")
|
|
height: 200
|
|
property string error: "Invalid seed phrase."
|
|
|
|
StyledText {
|
|
text: popup.error
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
font.pixelSize: 15
|
|
}
|
|
|
|
footer: StyledButton {
|
|
anchors.right: parent.right
|
|
anchors.rightMargin: Style.current.smallPadding
|
|
//% "Cancel"
|
|
label: qsTrId("browsing-cancel")
|
|
anchors.bottom: parent.bottom
|
|
onClicked: {
|
|
popup.close()
|
|
}
|
|
}
|
|
}
|