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 8e2ad12b0..009106f07 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 @@ -156,6 +156,8 @@ class MainActivity : BaseActivity() { } } }) + + loadIntentData() } /** @@ -321,12 +323,6 @@ class MainActivity : BaseActivity() { } } - override fun onStart() { - super.onStart() - // check whether an URI got submitted over the intent data and load it - loadIntentData() - } - private fun loadIntentData() { intent?.getStringExtra(IntentData.channelId)?.let { navController.navigate(