Skip to content

Commit

Permalink
UI (About): Ensure that all irrelevant menu items are removed
Browse files Browse the repository at this point in the history
  • Loading branch information
mardous committed Sep 28, 2024
1 parent 0848d25 commit 6e87098
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ class AboutFragment : BaseFragment(R.layout.fragment_about), View.OnClickListene

override fun onCreateMenu(menu: Menu, menuInflater: MenuInflater) {
super.onCreateMenu(menu, menuInflater)
menu.clear()
menuInflater.inflate(R.menu.menu_about, menu)
menu.removeItem(R.id.action_settings)
}

override fun onMenuItemSelected(menuItem: MenuItem): Boolean {
Expand Down

0 comments on commit 6e87098

Please sign in to comment.