mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-21 18:50:47 +03:00
parent
05f1f8f556
commit
8259891a42
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -99,6 +99,7 @@ Rectangle {
|
|||
model: r.model.values
|
||||
currentIndex: r.model.value
|
||||
onCurrentIndexChanged: r.model.value = currentIndex
|
||||
implicitContentWidthPolicy: ComboBox.WidestTextWhenCompleted
|
||||
|
||||
WheelHandler{} // suppress scrolling changing values
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue