mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 22:30:30 +05:30
fix: Show Channel Page
This commit is contained in:
parent
f2ab8435e5
commit
c781de4e60
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user