ProfileHeader: unused property removed

This commit is contained in:
Michał Cieślak 2024-11-07 00:00:06 +01:00 committed by Michał
parent 8fac4bf5de
commit e58a6c83ce
1 changed files with 0 additions and 22 deletions

View File

@ -39,7 +39,6 @@ Item {
property bool displayNameVisible: true property bool displayNameVisible: true
property bool displayNamePlusIconsVisible: false property bool displayNamePlusIconsVisible: false
property bool pubkeyVisible: true property bool pubkeyVisible: true
property bool pubkeyVisibleWithCopy: false
property alias emojiHash: emojiHash.emojiHash property alias emojiHash: emojiHash.emojiHash
property bool emojiHashVisible: true property bool emojiHashVisible: true
property bool editImageButtonVisible: false property bool editImageButtonVisible: false
@ -255,27 +254,6 @@ Item {
color: Theme.palette.secondaryText color: Theme.palette.secondaryText
} }
RowLayout {
Layout.alignment: Qt.AlignHCenter
visible: root.pubkeyVisibleWithCopy && !root.isBridgedAccount
StyledText {
id: txtChatKey
text: qsTr("Chatkey:%1...").arg(pubkey.substring(0, 32))
horizontalAlignment: Text.AlignHCenter
font.pixelSize: Theme.primaryTextFontSize
color: Theme.palette.secondaryText
}
CopyToClipBoardButton {
id: copyBtn
Layout.preferredWidth: 20
Layout.preferredHeight: 20
color: Theme.palette.transparent
textToCopy: pubkey
onCopyClicked: ClipboardUtils.setText(textToCopy)
}
}
EmojiHash { EmojiHash {
id: emojiHash id: emojiHash
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter