mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 16:30:31 +05:30
Merge pull request #5486 from abGit9/Show_Channel_Page
fix: don't show history when closing video on channel page
This commit is contained in:
commit
4cd6552c38
@ -247,7 +247,7 @@ class MainActivity : BaseActivity() {
|
||||
private fun isSearchInProgress(): Boolean {
|
||||
if (!::navController.isInitialized) 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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user