fix: Show Channel Page

This commit is contained in:
Ankur 2024-01-13 19:06:31 -08:00
parent f2ab8435e5
commit c781de4e60

View File

@ -247,7 +247,7 @@ class MainActivity : BaseActivity() {
private fun isSearchInProgress(): Boolean { private fun isSearchInProgress(): Boolean {
if (!::navController.isInitialized) return false if (!::navController.isInitialized) return false
val id = navController.currentDestination?.id ?: return false val id = navController.currentDestination?.id ?: return false
return id in listOf(R.id.searchFragment, R.id.searchResultFragment) return id in listOf(R.id.searchFragment, R.id.searchResultFragment, R.id.channelFragment)
} }
override fun invalidateMenu() { override fun invalidateMenu() {