diff options
author | Martin Fietz <martin.fietz@gmail.com> | 2018-01-10 22:16:51 +0100 |
---|---|---|
committer | Martin Fietz <martin.fietz@gmail.com> | 2018-01-10 22:16:51 +0100 |
commit | 36a7261f89b41160ed3fe7209d8388dcca98666f (patch) | |
tree | 309e21d143427921c65f388e900ae16e65a24eb0 /app/src/main | |
parent | 74b2d439c368ab878165d33f0c1bde2b26408db3 (diff) | |
download | AntennaPod-36a7261f89b41160ed3fe7209d8388dcca98666f.zip |
Simplify
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/activity/OnlineFeedViewActivity.java | 2 |
1 files changed, 1 insertions, 1 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 b5dc4038b..07f09455a 100644 --- a/app/src/main/java/de/danoeh/antennapod/activity/OnlineFeedViewActivity.java +++ b/app/src/main/java/de/danoeh/antennapod/activity/OnlineFeedViewActivity.java @@ -413,7 +413,7 @@ public class OnlineFeedViewActivity extends AppCompatActivity { description.setText(feed.getDescription()); subscribeButton.setOnClickListener(v -> { - if(feed != null && feedInFeedlist(feed)) { + if(feedInFeedlist(feed)) { Intent intent = new Intent(OnlineFeedViewActivity.this, MainActivity.class); // feed.getId() is always 0, we have to retrieve the id from the feed list from // the database |