~vthompson/music-app/remix-empty-states-001

« back to all changes in this revision

Viewing changes to MusicNowPlaying.qml

  • Committer: Victor Thompson
  • Date: 2014-10-20 22:02:55 UTC
  • mfrom: (677.1.2 remix)
  • Revision ID: victor.thompson@gmail.com-20141020220255-hiaalbts18zeczfy
merge of remix and fix issues

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
            anchors.top: parent.top
90
90
            anchors.topMargin: mainView.header.height
91
91
            height: units.gu(27)
92
 
            art: albumImage.source
 
92
            art: albumImage.firstSource
93
93
 
94
 
            Image {
 
94
            CoverGrid {
95
95
                id: albumImage
96
 
                anchors.centerIn: parent
97
 
                width: units.gu(18)
98
 
                height: width
99
 
                smooth: true
100
 
                source: player.currentMetaArt === "" ?
101
 
                            decodeURIComponent("image://albumart/artist=" +
102
 
                                               player.currentMetaArtist +
103
 
                                               "&album=" + player.currentMetaAlbum)
104
 
                          : player.currentMetaArt
 
96
                anchors {
 
97
                    centerIn: parent
 
98
                }
 
99
                covers: [{art: player.currentMetaArt, author: player.currentMetaArtist, album: player.currentMetaAlbum}]
 
100
                size: units.gu(18)
105
101
            }
106
102
        }
107
103