fix video sharing

This commit is contained in:
Bnyro 2022-11-11 17:58:14 +01:00
parent df92e17108
commit 7e9f71a529

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() {