From e58a6c83cea171802643b32f7af6513f756c64fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Cie=C5=9Blak?= Date: Thu, 7 Nov 2024 00:00:06 +0100 Subject: [PATCH] ProfileHeader: unused property removed --- .../shared/controls/chat/ProfileHeader.qml | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/ui/imports/shared/controls/chat/ProfileHeader.qml b/ui/imports/shared/controls/chat/ProfileHeader.qml index 0e812eafe9..a27c5bad34 100644 --- a/ui/imports/shared/controls/chat/ProfileHeader.qml +++ b/ui/imports/shared/controls/chat/ProfileHeader.qml @@ -39,7 +39,6 @@ Item { property bool displayNameVisible: true property bool displayNamePlusIconsVisible: false property bool pubkeyVisible: true - property bool pubkeyVisibleWithCopy: false property alias emojiHash: emojiHash.emojiHash property bool emojiHashVisible: true property bool editImageButtonVisible: false @@ -255,27 +254,6 @@ Item { 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 { id: emojiHash Layout.alignment: Qt.AlignHCenter