Simplify
This commit is contained in:
parent
74b2d439c3
commit
36a7261f89
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue