mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-17 14:20:21 +01:00
fix channel rssbutton null pointer bug
This commit is contained in:
parent
90716f4f5b
commit
fdeb7543ca
@ -200,8 +200,6 @@ public class ChannelFragment extends BaseListInfoFragment<ChannelInfo> {
|
|||||||
ActionBar supportActionBar = activity.getSupportActionBar();
|
ActionBar supportActionBar = activity.getSupportActionBar();
|
||||||
if(useAsFrontPage) {
|
if(useAsFrontPage) {
|
||||||
supportActionBar.setDisplayHomeAsUpEnabled(false);
|
supportActionBar.setDisplayHomeAsUpEnabled(false);
|
||||||
menuRssButton.setVisible(false);
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
inflater.inflate(R.menu.menu_channel, menu);
|
inflater.inflate(R.menu.menu_channel, menu);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user