Add avatar support.

This commit is contained in:
Black Hat
2018-03-02 16:56:36 +08:00
parent 6a610e3808
commit d4c2a1ed50
10 changed files with 148 additions and 52 deletions

View File

@@ -81,6 +81,7 @@ Item {
Text {
z: 10
text: "Here? No, not here."
color: "#424242"
anchors.centerIn: parent
visible: listView.count === 0
}
@@ -113,7 +114,7 @@ Item {
ImageStatus {
width: parent.height
height: parent.height
source: "qrc:/asset/img/avatar.png"
source: "image://mxc/" + avatar
}
Column {