diff options
author | ByteHamster <info@bytehamster.com> | 2019-09-26 19:06:26 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-09-26 19:06:26 +0200 |
commit | 8b53268bfe89ef174411ca6adfa19cbd418c8440 (patch) | |
tree | 6be349dff0eef1d01e7422f5672b4b141febcc6e /core/src | |
parent | 889144f993680a9c79b4c840cd0a206a43e654eb (diff) | |
download | AntennaPod-8b53268bfe89ef174411ca6adfa19cbd418c8440.zip |
Refactored method for readability
Diffstat (limited to 'core/src')
-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; + } } |