Skip to content

Commit 4cd6552

Browse files
authored
Merge pull request #5486 from abGit9/Show_Channel_Page
fix: don't show history when closing video on channel page
2 parents e30edc4 + c781de4 commit 4cd6552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ class MainActivity : BaseActivity() {
247247
private fun isSearchInProgress(): Boolean {
248248
if (!::navController.isInitialized) return false
249249
val id = navController.currentDestination?.id ?: return false
250-
return id in listOf(R.id.searchFragment, R.id.searchResultFragment)
250+
return id in listOf(R.id.searchFragment, R.id.searchResultFragment, R.id.channelFragment)
251251
}
252252

253253
override fun invalidateMenu() {

0 commit comments

Comments
 (0)