@ -58,6 +58,52 @@ Rectangle {
spacing: 30 * scaleRatio
Layout.fillWidth: true
RowLayout {
/ / T O D O : M o v e t h e w a r n i n g b o x t o i t s o w n c o m p o n e n t , s o i t c a n b e u s e d i n m u l t i p l e p l a c e s
visible: warningText . text !== ""
Rectangle {
id: statusRect
Layout.preferredHeight: warningText . height + 26
Layout.fillWidth: true
radius: 2
border.color: Qt . rgba ( 255 , 255 , 255 , 0.25 )
border.width: 1
color: "transparent"
GridLayout {
Layout.fillWidth: true
Layout.preferredHeight: warningText . height + 40
Image {
Layout.alignment: Qt . AlignVCenter
Layout.preferredHeight: 33
Layout.preferredWidth: 33
Layout.leftMargin: 10
Layout.topMargin: 10
source: "../images/warning.png"
}
Text {
id: warningText
Layout.topMargin: 12 * scaleRatio
Layout.preferredWidth: statusRect . width - 80
Layout.leftMargin: 6
text: qsTr ( "WARNING: Do not reuse your Monero keys on another fork, UNLESS this fork has key reuse mitigations built in. Doing so will harm your privacy." + translationManager . emptyString )
wrapMode: Text . Wrap
font.family: Style . fontRegular . name
font.pixelSize: 15 * scaleRatio
color: Style . defaultFontColor
textFormat: Text . RichText
onLinkActivated: {
appWindow . startDaemon ( appWindow . persistentSettings . daemonFlags ) ;
}
}
}
}
}
/ / ! M a n a g e w a l l e t
ColumnLayout {
Layout.fillWidth: true