Prev and next only when playing favorites
This commit is contained in:
@@ -202,7 +202,8 @@ Page {
|
||||
spacing: Theme.paddingMedium
|
||||
Image {
|
||||
id: playprev
|
||||
enabled: radioPlayer.playlistIndex > 0
|
||||
enabled: radioPlayer.playlistIndex > 0 && radioPlayer._favorite
|
||||
visible: radioPlayer._favorite
|
||||
opacity: enabled ? 1.0 : 0.4
|
||||
source: "image://theme/icon-m-previous"
|
||||
height: play.height
|
||||
@@ -228,7 +229,8 @@ Page {
|
||||
}
|
||||
Image {
|
||||
id: playDLNA
|
||||
enabled: radioPlayer.playlistIndex < radioPlayer.playlist.count -1
|
||||
enabled: radioPlayer.playlistIndex < radioPlayer.playlist.count -1 && radioPlayer._favorite
|
||||
visible: radioPlayer._favorite
|
||||
opacity: enabled ? 1.0 : 0.4
|
||||
source: "image://theme/icon-m-next"
|
||||
height: play.height
|
||||
|
||||
Reference in New Issue
Block a user