diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2019-09-26 23:45:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-26 23:45:22 +0200 |
commit | bbf4f8cc3fe3d98eb2b1b49e097467ba925fe1c5 (patch) | |
tree | a94c4292376748ee3c43573b6e70640cb137e180 /core/src/main | |
parent | b0a77bf000a7a94151057bc1c7fd6a0280d40df8 (diff) | |
parent | 8b53268bfe89ef174411ca6adfa19cbd418c8440 (diff) | |
download | AntennaPod-bbf4f8cc3fe3d98eb2b1b49e097467ba925fe1c5.zip |
Merge pull request #3453 from ByteHamster/refresh-subscriptions-view
Added refresh item to subscriptions view
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/event/DownloadEvent.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/event/DownloadEvent.java b/core/src/main/java/de/danoeh/antennapod/core/event/DownloadEvent.java index 124fd3e64..24a71ec96 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/event/DownloadEvent.java +++ b/core/src/main/java/de/danoeh/antennapod/core/event/DownloadEvent.java @@ -25,4 +25,8 @@ public class DownloadEvent { "update=" + update + '}'; } + + public boolean hasChangedFeedUpdateStatus(boolean oldStatus) { + return oldStatus != update.feedIds.length > 0; + } } |