Add upload progress && fix icon proportion of DBus.

This commit is contained in:
Black Hat
2018-10-20 22:06:44 +08:00
parent 129a83d91f
commit 73ce9c2bf1
7 changed files with 80 additions and 16 deletions

View File

@@ -20,6 +20,14 @@ Rectangle {
elevation: 2
}
Rectangle {
width: currentRoom && currentRoom.hasFileUploading ? parent.width * currentRoom.fileUploadingProgress / 100 : 0
height: parent.height
opacity: 0.2
color: Material.accent
}
RowLayout {
anchors.fill: parent
@@ -40,7 +48,7 @@ Rectangle {
BusyIndicator {
anchors.fill: parent
running: false
running: currentRoom && currentRoom.hasFileUploading
}
}