Move some buttons around to more logical places

This commit is contained in:
Bart De Vries 2021-04-13 21:07:05 +02:00
parent 32f01b03bd
commit 2f389e02aa

View File

@ -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
} }
] ]
} }