Move some buttons around to more logical places
This commit is contained in:
parent
32f01b03bd
commit
2f389e02aa
@ -99,13 +99,9 @@ Kirigami.SwipeListItem {
|
|||||||
|
|
||||||
actions: [
|
actions: [
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
iconName: "media-playback-start"
|
text: i18n("Remove from Queue")
|
||||||
text: "Play"
|
icon.name: "list-remove"
|
||||||
onTriggered: {
|
onTriggered: { DataManager.removeQueueItem(entry) }
|
||||||
audio.entry = entry
|
|
||||||
audio.play()
|
|
||||||
}
|
|
||||||
visible: entry.enclosure && entry.enclosure.status === Enclosure.Downloaded
|
|
||||||
},
|
},
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
text: i18n("Download")
|
text: i18n("Download")
|
||||||
@ -126,9 +122,13 @@ Kirigami.SwipeListItem {
|
|||||||
visible: entry.enclosure && entry.enclosure.status === Enclosure.Downloaded
|
visible: entry.enclosure && entry.enclosure.status === Enclosure.Downloaded
|
||||||
},
|
},
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
text: i18n("Remove from Queue")
|
iconName: "media-playback-start"
|
||||||
icon.name: "list-remove"
|
text: "Play"
|
||||||
onTriggered: { DataManager.removeQueueItem(entry) }
|
onTriggered: {
|
||||||
|
audio.entry = entry
|
||||||
|
audio.play()
|
||||||
|
}
|
||||||
|
visible: entry.enclosure && entry.enclosure.status === Enclosure.Downloaded
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user