Skip to content

Commit

Permalink
front: Don't show touch screen settings in tv mode
Browse files Browse the repository at this point in the history
  • Loading branch information
fzurita committed Mar 21, 2016
1 parent 3e14cab commit 36cca22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/paulscode/android/mupen64plusae/GalleryActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36cca22

Please sign in to comment.