parent
3f5e360641
commit
8b6b0493df
|
@ -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