fix(@desktop): reduce emoji hash icon size

fixes: #6300
This commit is contained in:
Kamil K 2022-07-04 22:09:08 +02:00 committed by Iuri Matias
parent 499b360112
commit ea00d4c46d
2 changed files with 3 additions and 2 deletions

View File

@ -9,9 +9,10 @@ import shared.panels 1.0
Item {
id: root
property bool compact: false
property string publicKey
property real size: 16
readonly property real size: compact ? 10 : 15
implicitHeight: positioner.implicitHeight
implicitWidth: positioner.implicitWidth

View File

@ -206,8 +206,8 @@ Item {
id: emojiHash
Layout.alignment: Qt.AlignHCenter
visible: root.emojiHashVisible
compact: root.compact
publicKey: root.pubkey
size: root.compact ? 16 : 20
}
}
}