1
0

qml: add seed passphrase property to QEWallet, show in WalletDetails

This commit is contained in:
Sander van Grieken
2024-09-18 15:02:01 +02:00
parent ba3935c842
commit 0d7ff8635b
2 changed files with 29 additions and 0 deletions

View File

@@ -175,6 +175,28 @@ Pane {
}
}
Label {
id: seed_extension_label
Layout.columnSpan: 2
Layout.topMargin: constants.paddingSmall
visible: seedText.visible && Daemon.currentWallet.seedPassphrase
text: qsTr('Seed Extension')
color: Material.accentColor
}
TextHighlightPane {
Layout.columnSpan: 2
Layout.fillWidth: true
visible: seed_extension_label.visible
Label {
Layout.fillWidth: true
text: Daemon.currentWallet.seedPassphrase
wrapMode: Text.Wrap
font.family: FixedFont
font.pixelSize: constants.fontSizeMedium
}
}
Label {
Layout.columnSpan: 2
Layout.topMargin: constants.paddingSmall