Reformat code.

This commit is contained in:
Black Hat
2018-09-04 21:13:14 +08:00
parent 412b5201bf
commit aa29f5252d
17 changed files with 139 additions and 90 deletions

View File

@@ -13,9 +13,11 @@ Item {
id: item
Image {
id: avatar
width: item.width
height: item.width
id: avatar
visible: showImage
source: item.source
@@ -40,6 +42,7 @@ Item {
Label {
anchors.fill: parent
color: "white"
visible: showInitial
text: showInitial ? getInitials(displayText)[0] : ""