parent
6a11a89ff3
commit
073e97eecd
|
@ -31,7 +31,7 @@ StatusModal {
|
|||
|
||||
Layout.fillWidth: true
|
||||
|
||||
readonly property string elidedPkey: Utils.elideText(root.privateKey, 16)
|
||||
readonly property string elidedPkey: Utils.getElidedCommunityPK(root.privateKey)
|
||||
|
||||
leftPadding: 0
|
||||
rightPadding: 0
|
||||
|
|
|
@ -619,6 +619,13 @@ QtObject {
|
|||
return StatusQUtils.Utils.elideText(publicKey, 5, 3)
|
||||
}
|
||||
|
||||
function getElidedCommunityPK(publicKey) {
|
||||
if (publicKey === "") {
|
||||
return ""
|
||||
}
|
||||
return StatusQUtils.Utils.elideText(publicKey, 16)
|
||||
}
|
||||
|
||||
function getElidedCompressedPk(publicKey) {
|
||||
if (publicKey === "") {
|
||||
return ""
|
||||
|
|
Loading…
Reference in New Issue