Fallback cover art for PodcastItem
This commit is contained in:
parent
d51052fd1d
commit
a4bb12bee6
2 changed files with 18 additions and 2 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit a8170962d1fbf455f2f90a90b0dfd5bd05af8ac9
|
Subproject commit 32d95cd1620eb92cf901554182e8fd2481f4af4b
|
|
@ -84,7 +84,7 @@ ListItem {
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
id: cover
|
id: cover
|
||||||
visible: !updating
|
visible: !updating && coverart
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
left: parent.left
|
left: parent.left
|
||||||
|
@ -101,6 +101,22 @@ ListItem {
|
||||||
source: coverart
|
source: coverart
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
anchors.fill: cover
|
||||||
|
visible: !updating && !coverart
|
||||||
|
color: Theme.rgba(Theme.highlightColor, 0.5)
|
||||||
|
|
||||||
|
clip: true
|
||||||
|
|
||||||
|
Label {
|
||||||
|
anchors.centerIn: parent
|
||||||
|
|
||||||
|
font.pixelSize: parent.height * 0.8
|
||||||
|
text: title[0]
|
||||||
|
color: Theme.highlightColor
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
BusyIndicator {
|
BusyIndicator {
|
||||||
anchors.centerIn: cover
|
anchors.centerIn: cover
|
||||||
visible: updating
|
visible: updating
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue