From 7e9f71a529553822401053e00cafb533a91330c1 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Fri, 11 Nov 2022 17:58:14 +0100 Subject: [PATCH] fix video sharing --- .../java/com/github/libretube/ui/activities/MainActivity.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() {