diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-06-08 23:24:32 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-06-08 23:24:32 +0200 |
commit | 8259891a42336cbc839268d8beae4b456146d836 (patch) | |
tree | 546713dd61b95f509d6c213061b2865a739507b6 /resources/qml/CommunitiesList.qml | |
parent | Fix translations (and simplify resource files) (diff) | |
download | nheko-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.qml | 5 |
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 |