Add "Refresh" item to podcast context menu
This commit is contained in:
parent
8caf02e713
commit
61863f14e3
1 changed files with 8 additions and 1 deletions
|
@ -109,6 +109,12 @@ SlidePage {
|
|||
onClicked: pgst.loadPage('EpisodesPage.qml', {'podcast_id': id, 'title': title});
|
||||
onPressAndHold: {
|
||||
pgst.showSelection([
|
||||
{
|
||||
label: 'Refresh',
|
||||
callback: function () {
|
||||
py.call('main.check_for_episodes', [url]);
|
||||
},
|
||||
},
|
||||
{
|
||||
label: 'Unsubscribe',
|
||||
callback: function () {
|
||||
|
@ -116,7 +122,8 @@ SlidePage {
|
|||
pgst.showConfirmation(title, 'Unsubscribe', 'Cancel', 'Remove this podcast and all downloaded episodes?', Icons.trash, function () {
|
||||
ctx.py.call('main.unsubscribe', [ctx.id]);
|
||||
});
|
||||
} },
|
||||
},
|
||||
},
|
||||
{
|
||||
label: 'Rename',
|
||||
callback: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue