This commit is contained in:
Martin Fietz 2018-01-10 22:16:51 +01:00
parent 74b2d439c3
commit 36a7261f89
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ public class OnlineFeedViewActivity extends AppCompatActivity {
description.setText(feed.getDescription()); description.setText(feed.getDescription());
subscribeButton.setOnClickListener(v -> { subscribeButton.setOnClickListener(v -> {
if(feed != null && feedInFeedlist(feed)) { if(feedInFeedlist(feed)) {
Intent intent = new Intent(OnlineFeedViewActivity.this, MainActivity.class); Intent intent = new Intent(OnlineFeedViewActivity.this, MainActivity.class);
// feed.getId() is always 0, we have to retrieve the id from the feed list from // feed.getId() is always 0, we have to retrieve the id from the feed list from
// the database // the database