diff --git a/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt b/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt index 65ddfd7a3..d6f79a951 100644 --- a/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt +++ b/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt @@ -353,6 +353,8 @@ class MainActivity : BaseActivity() { loadVideo(it, intent?.getLongExtra(IntentData.timeStamp, 0L)) } when (intent?.getStringExtra("fragmentToOpen")) { + "home" -> + navController.navigate(R.id.homeFragment) "subscriptions" -> navController.navigate(R.id.subscriptionsFragment) "library" -> @@ -383,7 +385,7 @@ class MainActivity : BaseActivity() { transitionToStart() } } - }, 100) + }, 300) } private fun minimizePlayer() {