Skip to content
Permalink
Browse files

Keys: add primary address to seed & keys page

  • Loading branch information
rating89us committed Jan 15, 2020
1 parent 43f378b commit 285a4981273af331a59e0b3f5e1529ddd4e9e276
Showing with 31 additions and 0 deletions.
  1. +31 −0 pages/Keys.qml
@@ -63,6 +63,36 @@ Rectangle {
}

//! Manage wallet
ColumnLayout {
Layout.fillWidth: true

MoneroComponents.Label {
Layout.fillWidth: true
fontSize: 22
Layout.topMargin: 10
text: qsTr("Address") + translationManager.emptyString
}

Rectangle {
Layout.fillWidth: true
height: 2
color: MoneroComponents.Style.dividerColor
opacity: MoneroComponents.Style.dividerOpacity
Layout.bottomMargin: 10
}

MoneroComponents.LineEditMulti {
id: primaryAddress
spacing: 0
copyButton: true
readOnly: true
wrapMode: Text.Wrap
fontColor: MoneroComponents.Style.defaultFontColor
labelText: qsTr("Primary address") + translationManager.emptyString
fontSize: 16
}
}

ColumnLayout {
Layout.fillWidth: true

@@ -261,6 +291,7 @@ Rectangle {
function onPageCompleted() {
console.log("keys page loaded");

primaryAddress.text = currentWallet.address(0, 0)
walletCreationHeight.text = currentWallet.walletCreationHeight
secretViewKey.text = currentWallet.secretViewKey
publicViewKey.text = currentWallet.publicViewKey

0 comments on commit 285a498

Please sign in to comment.
You can’t perform that action at this time.