Skip to content

Commit

Permalink
Fixed the general options menu
Browse files Browse the repository at this point in the history
  • Loading branch information
mendhak committed May 5, 2015
1 parent e4074e5 commit 358be6a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public void onDrawerOpened(View drawerView) {

drawer.addDivider();
drawer.addItem(new DrawerItem()
.setId(0)
.setId(1000)
.setImage(getResources().getDrawable(R.drawable.settings))
.setTextPrimary(getString(R.string.pref_general_title))
.setTextSecondary(getString(R.string.pref_general_summary))
Expand Down Expand Up @@ -376,7 +376,7 @@ public void onClick(DrawerItem drawerItem, long id, int position) {
drawerLayout.closeDrawer(drawer);

switch((int)id){
case 0:
case 1000:
LaunchPreferenceScreen(MainPreferenceActivity.PreferenceConstants.GENERAL);
break;
case 1:
Expand Down

0 comments on commit 358be6a

Please sign in to comment.