summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2022-06-11 17:35:52 +0200
committerByteHamster <info@bytehamster.com>2022-06-30 10:53:24 +0200
commit23420c7757264ad72ed2126c9b04cd4e47555f02 (patch)
tree0992f48b5dbc1165ef4e1ed4b5d173c6eff1d6bc /app
parent34814adcd9d05845440bebbf4a26b7f9df73bc58 (diff)
downloadAntennaPod-23420c7757264ad72ed2126c9b04cd4e47555f02.zip
Do not forget feed password when subscribing
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/de/danoeh/antennapod/activity/OnlineFeedViewActivity.java6
1 files 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);
}