summary refs log tree commit diff
path: root/resources/qml/TopBar.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-07-16 12:58:17 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-07-16 12:58:17 +0200
commitf261bbb32d05cd70260a97725c5d84e4a5fe451c (patch)
tree8450a9c43e722d4d6dee9e0389586a9e889974c3 /resources/qml/TopBar.qml
parentFix muting spaces (diff)
downloadnheko-f261bbb32d05cd70260a97725c5d84e4a5fe451c.tar.xz
Fix weird spacing and hidden encryption indicator in top bar
Diffstat (limited to '')
-rw-r--r--resources/qml/TopBar.qml7
1 files changed, 4 insertions, 3 deletions
diff --git a/resources/qml/TopBar.qml b/resources/qml/TopBar.qml

index c9d26019..2f94cf84 100644 --- a/resources/qml/TopBar.qml +++ b/resources/qml/TopBar.qml
@@ -144,10 +144,11 @@ Pane { contentItem: EncryptionIndicator { sourceSize.height: parent.Layout.preferredHeight * Screen.devicePixelRatio sourceSize.width: parent.Layout.preferredWidth * Screen.devicePixelRatio - visible: isEncrypted encrypted: isEncrypted trust: trustlevel enabled: false + unencryptedIcon: ":/icons/icons/ui/people.svg" + unencryptedColor: Nheko.colors.buttonText } background: null @@ -155,7 +156,7 @@ Pane { ToolTip.delay: Nheko.tooltipDelay ToolTip.text: { if (!isEncrypted) - return qsTr("This room is not encrypted!"); + return qsTr("Show room members."); switch (trustlevel) { case Crypto.Verified: @@ -330,7 +331,7 @@ Pane { Layout.row: 3 Layout.column: 2 - Layout.columnSpan: 3 + Layout.columnSpan: 1 Layout.fillWidth: true Layout.preferredHeight: Math.min(contentHeight, Nheko.avatarSize * 1.5)