Fixed NullPointerException in FeedInfoActivity
This commit is contained in:
parent
4c4b28062d
commit
a0ece5b5ec
|
@ -166,6 +166,7 @@ public class FeedInfoActivity extends ActionBarActivity {
|
|||
menu.findItem(R.id.support_item).setVisible(
|
||||
feed != null && feed.getPaymentLink() != null);
|
||||
menu.findItem(R.id.share_link_item).setVisible(feed != null &&feed.getLink() != null);
|
||||
menu.findItem(R.id.visit_website_item).setVisible(feed != null && feed.getLink() != null);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue