mirror of https://github.com/KDE/kasts.git
Show download progress also on entry page
So far, there was no progress feedback at all when starting a download on the entry page. Use the toolbar background as progress indicator while a download is running.
This commit is contained in:
parent
2f5d16d38a
commit
3c25887111
|
@ -106,7 +106,10 @@ Kirigami.ScrollablePage {
|
||||||
|
|
||||||
contentItem: Kirigami.ActionToolBar {
|
contentItem: Kirigami.ActionToolBar {
|
||||||
alignment: Qt.AlignLeft
|
alignment: Qt.AlignLeft
|
||||||
background: Item {}
|
background: Rectangle {
|
||||||
|
color: Kirigami.Theme.highlightColor
|
||||||
|
width: entry.enclosure && (entry.enclosure.status === Enclosure.Downloading ) ? (parent.width*entry.enclosure.downloadProgress) : 0
|
||||||
|
}
|
||||||
|
|
||||||
actions: [
|
actions: [
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
|
|
Loading…
Reference in New Issue