status-desktop/ui/onboarding/InvalidSeedPhraseModal.qml

29 lines
625 B
QML
Raw Normal View History

import QtQuick 2.13
import QtQuick.Controls 2.13
import "../imports"
import "../shared"
ModalPopup {
id: popup
title: qsTr("Invalid seed phrase")
height: 200
property string error: "Invalid seed phrase."
StyledText {
text: qsTr(popup.error)
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
font.pixelSize: 15
}
footer: StyledButton {
anchors.right: parent.right
anchors.rightMargin: Theme.smallPadding
label: qsTr("Cancel")
anchors.bottom: parent.bottom
onClicked: {
popup.close()
}
}
}