summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--resources/qml/EncryptionIndicator.qml4
-rw-r--r--resources/qml/TopBar.qml2
2 files changed, 2 insertions, 4 deletions
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