Minor bug fixes and tweaks.

This commit is contained in:
Black Hat
2018-03-04 22:40:48 +08:00
parent 854a1c3855
commit 9b4fa0d8c6
4 changed files with 10 additions and 3 deletions

View File

@@ -114,7 +114,8 @@ Item {
ImageStatus {
width: parent.height
height: parent.height
source: "image://mxc/" + avatar
source: avatar == null ? "qrc:/asset/img/avatar.png" : "image://mxc/" + avatar
opaqueBackground: true
}
Column {