mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
62183fb414
There are some inconcistencies in the application when it comes to button UI elements because we're using `StatusButton` in some places, in other we use `StyledButton`. The latter is the original component we've created when we started out building Status Desktop, but is planned to be removed entirely in favour of `StatusButton`. This commit replaces the usages of `StyledButton` with `StatusButton`
32 lines
711 B
QML
32 lines
711 B
QML
import QtQuick 2.13
|
|
import QtQuick.Controls 2.13
|
|
import "../imports"
|
|
import "../shared"
|
|
import "../shared/status"
|
|
|
|
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: StatusButton {
|
|
anchors.right: parent.right
|
|
anchors.rightMargin: Style.current.smallPadding
|
|
//% "Cancel"
|
|
text: qsTrId("browsing-cancel")
|
|
anchors.bottom: parent.bottom
|
|
onClicked: {
|
|
popup.close()
|
|
}
|
|
}
|
|
}
|