mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-09 07:16:04 -04:00
Fixes the issue where the "Help" submenu in the sidebar is misleading in custom apps.
* We have hidden the help screen from our sidebar.
This commit is contained in:
parent
fb0cdf478a
commit
3ca6a15058
@ -105,6 +105,14 @@ class CustomMainActivity : CoreMainActivity() {
|
||||
* For more info see https://github.com/kiwix/kiwix-android/pull/3516
|
||||
*/
|
||||
menu.findItem(R.id.menu_host_books)?.isVisible = false
|
||||
/**
|
||||
* Hide the `HelpFragment` from custom apps.
|
||||
* We have not removed the relevant code for `HelpFragment` from custom apps.
|
||||
* If, in the future, we need to display this for all/some custom apps,
|
||||
* we can either remove the line below or configure it according to the requirements.
|
||||
* For more information, see https://github.com/kiwix/kiwix-android/issues/3584
|
||||
*/
|
||||
menu.findItem(R.id.menu_help)?.isVisible = false
|
||||
setNavigationItemSelectedListener { item ->
|
||||
closeNavigationDrawer()
|
||||
onNavigationItemSelected(item)
|
||||
|
Loading…
x
Reference in New Issue
Block a user