diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2023-02-24 22:08:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-24 22:08:59 +0100 |
commit | 8be62b6d0e7b2f5a45b70188dcb4e1891ef2a133 (patch) | |
tree | 232be42dfe1eca8806e4e8a944b552ed47ff1fa3 /core/src/main | |
parent | 6d72d7cebf351fb172338f780f91c34f1409085e (diff) | |
download | AntennaPod-8be62b6d0e7b2f5a45b70188dcb4e1891ef2a133.zip |
Always add feeds from opml, even if download fails (#6347)
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/storage/DBTasks.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/storage/DBTasks.java b/core/src/main/java/de/danoeh/antennapod/core/storage/DBTasks.java index bf03ebff1..18f157908 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/storage/DBTasks.java +++ b/core/src/main/java/de/danoeh/antennapod/core/storage/DBTasks.java @@ -322,7 +322,7 @@ public final class DBTasks { // get the most recent date now, before we start changing the list FeedItem priorMostRecent = savedFeed.getMostRecentItem(); - Date priorMostRecentDate = null; + Date priorMostRecentDate = new Date(); if (priorMostRecent != null) { priorMostRecentDate = priorMostRecent.getPubDate(); } |