From 23420c7757264ad72ed2126c9b04cd4e47555f02 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sat, 11 Jun 2022 17:35:52 +0200 Subject: [PATCH] Do not forget feed password when subscribing --- .../danoeh/antennapod/activity/OnlineFeedViewActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/de/danoeh/antennapod/activity/OnlineFeedViewActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/OnlineFeedViewActivity.java index 9e71ac1db..ed6069b7a 100644 --- a/app/src/main/java/de/danoeh/antennapod/activity/OnlineFeedViewActivity.java +++ b/app/src/main/java/de/danoeh/antennapod/activity/OnlineFeedViewActivity.java @@ -463,9 +463,9 @@ public class OnlineFeedViewActivity extends AppCompatActivity { openFeed(); } else { Feed f = new Feed(selectedDownloadUrl, null, feed.getTitle()); - f.setPreferences(feed.getPreferences()); - this.feed = f; - DownloadService.download(this, false, DownloadRequestCreator.create(f).build()); + DownloadService.download(this, false, DownloadRequestCreator.create(f) + .withAuthentication(username, password) + .build()); didPressSubscribe = true; handleUpdatedFeedStatus(feed); }