From fdeb7543ca7698e9cef71ace4783b04f5670f4ba Mon Sep 17 00:00:00 2001 From: Christian Schabesberger Date: Sun, 12 Nov 2017 13:59:11 +0100 Subject: [PATCH] fix channel rssbutton null pointer bug --- .../schabi/newpipe/fragments/list/channel/ChannelFragment.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/fragments/list/channel/ChannelFragment.java b/app/src/main/java/org/schabi/newpipe/fragments/list/channel/ChannelFragment.java index b62b1d1ab..348495079 100644 --- a/app/src/main/java/org/schabi/newpipe/fragments/list/channel/ChannelFragment.java +++ b/app/src/main/java/org/schabi/newpipe/fragments/list/channel/ChannelFragment.java @@ -200,8 +200,6 @@ public class ChannelFragment extends BaseListInfoFragment { ActionBar supportActionBar = activity.getSupportActionBar(); if(useAsFrontPage) { supportActionBar.setDisplayHomeAsUpEnabled(false); - menuRssButton.setVisible(false); - } else { inflater.inflate(R.menu.menu_channel, menu);