diff options
author | ByteHamster <info@bytehamster.com> | 2023-11-05 08:27:34 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2023-11-05 08:27:34 +0100 |
commit | f7a13065a9c92ba26d3686aeb18269f2313bd0b6 (patch) | |
tree | f7f7a49aa65acc295cc99dc0e3e870a1f5f4130f /app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/CancelDownloadActionButton.java | |
parent | 2c3fb5610a98d80db25b85fdf0607bfc2b6216fc (diff) | |
parent | 8d4270ab87d82dadccab177f6710637b28750c7a (diff) | |
download | AntennaPod-f7a13065a9c92ba26d3686aeb18269f2313bd0b6.zip |
Merge branch 'master' into develop
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/CancelDownloadActionButton.java')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/CancelDownloadActionButton.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/CancelDownloadActionButton.java b/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/CancelDownloadActionButton.java index 8b7a88873..c9500340b 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/CancelDownloadActionButton.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/CancelDownloadActionButton.java @@ -32,7 +32,7 @@ public class CancelDownloadActionButton extends ItemActionButton { @Override public void onClick(Context context) { FeedMedia media = item.getMedia(); - DownloadServiceInterface.get().cancel(context, media.getDownload_url()); + DownloadServiceInterface.get().cancel(context, media); if (UserPreferences.isEnableAutodownload()) { item.disableAutoDownload(); DBWriter.setFeedItem(item); |