mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 06:40:30 +05:30
commit
4e559efd3b
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user