Fix more avatars

This commit is contained in:
Tobias Fella
2022-10-31 01:43:04 +01:00
parent 4e6aca9a4e
commit 24202350ab
2 changed files with 4 additions and 5 deletions

View File

@@ -83,8 +83,8 @@ Kirigami.ScrollablePage {
Layout.preferredWidth: height Layout.preferredWidth: height
Layout.fillHeight: true Layout.fillHeight: true
source: avatar ? ("image://mxc/" + avatar) : "" source: model.avatar ? ("image://mxc/" + model.avatar) : ""
name: name name: model.name
} }
ColumnLayout { ColumnLayout {

View File

@@ -69,8 +69,8 @@ Kirigami.ScrollablePage {
Layout.preferredWidth: height Layout.preferredWidth: height
Layout.fillHeight: true Layout.fillHeight: true
source: avatar source: model.avatar ? ("image://mxc/" + model.avatar) : ""
name: name name: model.name
} }
ColumnLayout { ColumnLayout {
@@ -94,7 +94,6 @@ Kirigami.ScrollablePage {
Layout.fillHeight: true Layout.fillHeight: true
text: userID text: userID
color: Kirigami.Theme.disabledColor
textFormat: Text.PlainText textFormat: Text.PlainText
elide: Text.ElideRight elide: Text.ElideRight
wrapMode: Text.NoWrap wrapMode: Text.NoWrap