diff --git a/resources/qml/EncryptionIndicator.qml b/resources/qml/EncryptionIndicator.qml index 0bbdffc6..04d4bace 100644 --- a/resources/qml/EncryptionIndicator.qml +++ b/resources/qml/EncryptionIndicator.qml @@ -34,8 +34,8 @@ Image { width: 16 height: 16 - sourceSize.height: height * Screen.devicePixelRatio - sourceSize.width: width * Screen.devicePixelRatio + sourceSize.height: height + sourceSize.width: width source: { if (encrypted) { switch (trust) { diff --git a/resources/qml/TopBar.qml b/resources/qml/TopBar.qml index 4608da4d..bdf19bf9 100644 --- a/resources/qml/TopBar.qml +++ b/resources/qml/TopBar.qml @@ -228,8 +228,6 @@ Pane { Layout.maximumWidth: Nheko.avatarSize - Nheko.paddingMedium contentItem: EncryptionIndicator { - sourceSize.height: parent.Layout.preferredHeight * Screen.devicePixelRatio - sourceSize.width: parent.Layout.preferredWidth * Screen.devicePixelRatio encrypted: isEncrypted trust: trustlevel enabled: false