mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 22:30:30 +05:30
fix reopening
This commit is contained in:
parent
9912b1f4dc
commit
32822163e1
@ -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() {
|
private fun loadIntentData() {
|
||||||
intent?.getStringExtra(IntentData.channelId)?.let {
|
intent?.getStringExtra(IntentData.channelId)?.let {
|
||||||
navController.navigate(
|
navController.navigate(
|
||||||
|
Loading…
Reference in New Issue
Block a user