summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
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);
}