Skip to content

Commit

Permalink
Remove redundant drawer menu item
Browse files Browse the repository at this point in the history
  • Loading branch information
geckour committed Feb 24, 2019
1 parent ce2d696 commit c49c58d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ class MainActivity :
)
fragment.show(supportFragmentManager, MyAlertDialogFragment.getTag(requestCode))
}

R.id.nav_setting -> Unit

R.id.nav_search -> Unit
}

binding.drawerLayout.closeDrawer(GravityCompat.START)
Expand Down
16 changes: 0 additions & 16 deletions app/src/main/res/menu/activity_main_drawer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,4 @@
</group>
</menu>
</item>

<item android:title="@string/nav_other">
<menu>
<group android:checkableBehavior="single">
<item
android:id="@+id/nav_search"
android:icon="@drawable/ic_search"
android:title="@string/nav_search" />

<item
android:id="@+id/nav_setting"
android:icon="@drawable/ic_settings"
android:title="@string/nav_setting" />
</group>
</menu>
</item>
</menu>

0 comments on commit c49c58d

Please sign in to comment.