Fix controls visibility in song list screens

This commit is contained in:
An Phan 2016-11-18 15:17:03 +08:00
parent 08b37d532d
commit 21d23755be
No known key found for this signature in database
GPG key ID: 05536BB4BCDC02A2
3 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@
</span>
<song-list-controls
v-show="!isPhone || showingControls"
v-show="state.songs.length && (!isPhone || showingControls)"
:config="songListControlConfig"
:selectedSongs="selectedSongs"
/>

View file

@ -18,7 +18,7 @@
</span>
<song-list-controls
v-show="!isPhone || showingControls"
v-show="playlist.songs.length && (!isPhone || showingControls)"
@shuffleAll="shuffleAll"
@shuffleSelected="shuffleSelected"
@deletePlaylist="confirmDelete"

View file

@ -12,7 +12,7 @@
</span>
<song-list-controls
v-show="!isPhone || showingControls"
v-show="state.songs.length && (!isPhone || showingControls)"
@shuffleAll="shuffleAll"
@shuffleSelected="shuffleSelected"
:config="songListControlConfig"