Skip to content
Permalink
Browse files
front: Don't show touch screen settings in tv mode
  • Loading branch information
fzurita committed Mar 21, 2016
1 parent 3e14cab commit 36cca22
Showing 1 changed file with 3 additions and 0 deletions.
@@ -294,6 +294,9 @@ public void onDrawerOpened( View drawerView )
{
final MenuItem profileGroupItem = mDrawerList.getMenu().findItem(R.id.menuItem_profiles);
profileGroupItem.getSubMenu().removeItem(R.id.menuItem_touchscreenProfiles);

final MenuItem settingsGroupItem = mDrawerList.getMenu().findItem(R.id.menuItem_settings);
settingsGroupItem.getSubMenu().removeItem(R.id.menuItem_categoryTouchscreen);
}

// Select the Library section

0 comments on commit 36cca22

Please sign in to comment.