Commit 7e39f930 authored by Carlos Jose Mazieri's avatar Carlos Jose Mazieri Committed by Kempe
Browse files

[FEATURE] Display more station info on Cover

* Station name
* Now playin (if available)
parent 5b53a342
......@@ -9,11 +9,17 @@ CoverBackground {
anchors.right: parent.right
anchors.bottom: coverActionArea.top
anchors.left: parent.left
title: AudioPlayer.title
thumbnail: app.stationData ? app.stationData.stationLogo : ""
title: AudioPlayer.title ? AudioPlayer.station + "\n\n" + AudioPlayer.title
: AudioPlayer.station
thumbnail: setThumbnail()
}
function setThumbnail() {
if (app.stationData && app.stationData.stationLogo) {
return app.stationData.stationLogo
}
return "";
}
CoverActionList {
id: coverAction
......
......@@ -27,7 +27,7 @@ Item {
color: Theme.primaryColor
font.pixelSize: Theme.fontSizeSmall
maximumLineCount: 2
maximumLineCount: 7
elide: Text.ElideLeft
wrapMode: Text.WordWrap
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment