summary refs log tree commit diff
path: root/resources/qml/CommunitiesList.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-06-08 23:24:32 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-06-08 23:24:32 +0200
commit8259891a42336cbc839268d8beae4b456146d836 (patch)
tree546713dd61b95f509d6c213061b2865a739507b6 /resources/qml/CommunitiesList.qml
parentFix translations (and simplify resource files) (diff)
downloadnheko-8259891a42336cbc839268d8beae4b456146d836.tar.xz
Make settings combobox width dependent on content
fixes #1164
Diffstat (limited to 'resources/qml/CommunitiesList.qml')
-rw-r--r--resources/qml/CommunitiesList.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/qml/CommunitiesList.qml b/resources/qml/CommunitiesList.qml
index 24444ae6..81f0640e 100644
--- a/resources/qml/CommunitiesList.qml
+++ b/resources/qml/CommunitiesList.qml
@@ -147,10 +147,9 @@ Page {
                     url: {
                         if (model.avatarUrl.startsWith("mxc://"))
                             return model.avatarUrl.replace("mxc://", "image://MxcImage/");
-                        else if (model.avatarUrl.length > 0) {
-                            console.log("image://colorimage/" + model.avatarUrl + "?" + communityItem.unimportantText);
+                        else if (model.avatarUrl.length > 0)
                             return model.avatarUrl;
-                        } else
+                        else
                             return "";
                     }
                     width: avatarSize