Do not forget feed password when subscribing

This commit is contained in:
ByteHamster 2022-06-11 17:35:52 +02:00
parent 34814adcd9
commit 23420c7757
1 changed files with 3 additions and 3 deletions

View File

@ -463,9 +463,9 @@ public class OnlineFeedViewActivity extends AppCompatActivity {
openFeed(); openFeed();
} else { } else {
Feed f = new Feed(selectedDownloadUrl, null, feed.getTitle()); Feed f = new Feed(selectedDownloadUrl, null, feed.getTitle());
f.setPreferences(feed.getPreferences()); DownloadService.download(this, false, DownloadRequestCreator.create(f)
this.feed = f; .withAuthentication(username, password)
DownloadService.download(this, false, DownloadRequestCreator.create(f).build()); .build());
didPressSubscribe = true; didPressSubscribe = true;
handleUpdatedFeedStatus(feed); handleUpdatedFeedStatus(feed);
} }