Merge pull request #1803 from Bnyro/master

fix video sharing
This commit is contained in:
Bnyro 2022-11-11 17:58:50 +01:00 committed by GitHub
commit 304d6ec7b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,6 +353,8 @@ class MainActivity : BaseActivity() {
loadVideo(it, intent?.getLongExtra(IntentData.timeStamp, 0L)) loadVideo(it, intent?.getLongExtra(IntentData.timeStamp, 0L))
} }
when (intent?.getStringExtra("fragmentToOpen")) { when (intent?.getStringExtra("fragmentToOpen")) {
"home" ->
navController.navigate(R.id.homeFragment)
"subscriptions" -> "subscriptions" ->
navController.navigate(R.id.subscriptionsFragment) navController.navigate(R.id.subscriptionsFragment)
"library" -> "library" ->
@ -383,7 +385,7 @@ class MainActivity : BaseActivity() {
transitionToStart() transitionToStart()
} }
} }
}, 100) }, 300)
} }
private fun minimizePlayer() { private fun minimizePlayer() {