offline: fix crash on missing menu item
This commit is contained in:
parent
29b5d95e90
commit
882824190c
@ -174,8 +174,6 @@ public class OfflineFeedsActivity extends OfflineActivity implements OfflineHead
|
||||
m_menu.setGroupVisible(R.id.menu_group_feeds, (ff != null && ff.isAdded()) || (cf != null && cf.isAdded()));
|
||||
//m_menu.setGroupVisible(R.id.menu_group_article, af != null && af.isAdded());
|
||||
m_menu.setGroupVisible(R.id.menu_group_headlines, hf != null && hf.isAdded());
|
||||
|
||||
m_menu.findItem(R.id.update_headlines).setVisible(false);
|
||||
}
|
||||
|
||||
/* m_menu.setGroupVisible(R.id.menu_group_feeds, (ff != null && ff.isAdded()) || (cf != null && cf.isAdded()));
|
||||
|
Loading…
Reference in New Issue
Block a user