Merge pull request #1771 from Bnyro/master

fix reopening
This commit is contained in:
Bnyro 2022-11-05 20:03:20 +01:00 committed by GitHub
commit 4e559efd3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(