detail activity: hide toolbar item to switch sort order

This commit is contained in:
Andrew Dolgov 2017-06-01 23:30:26 +03:00
parent dcfce70c5b
commit 4fe7cacec8

View File

@ -176,7 +176,8 @@ public class DetailActivity extends OnlineActivity implements HeadlinesEventList
m_menu.setGroupVisible(R.id.menu_group_headlines, !isPortrait() && !isSmallScreen());
//m_menu.findItem(R.id.headlines_toggle_sidebar).setVisible(!isPortrait() && !isSmallScreen());
m_menu.findItem(R.id.headlines_toggle_sort_order).setVisible(false);
ArticlePager af = (ArticlePager) getSupportFragmentManager().findFragmentByTag(FRAG_ARTICLE);
m_menu.setGroupVisible(R.id.menu_group_article, af != null);