diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 990621d22..daebcda88 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -335,11 +335,6 @@
-
-
(
- theme = Theme.Transparent
- ) {
-
- override val binding by viewBinding(ActivityTranslucenceBinding::inflate)
- override val viewModel by viewModels()
-
- override fun onActivityCreated(savedInstanceState: Bundle?) {
- binding.rotateLoading.show()
- viewModel.errorLiveData.observe(this, {
- binding.rotateLoading.hide()
- errorDialog(it)
- })
- viewModel.successLiveData.observe(this, {
- binding.rotateLoading.hide()
- if (it > 0) {
- ImportRssSourceDialog().show(supportFragmentManager, "SourceDialog")
- } else {
- errorDialog(getString(R.string.wrong_format))
- }
- })
- initData()
- }
-
- private fun initData() {
- intent.getStringExtra("dataKey")?.let {
- IntentDataHelp.getData(it)?.let { source ->
- viewModel.importSource(source)
- return
- }
- }
- intent.getStringExtra("source")?.let {
- viewModel.importSource(it)
- return
- }
- finish()
- }
-
- private fun errorDialog(msg: String) {
- alert(getString(R.string.error), msg) {
- okButton { }
- onDismiss {
- finish()
- }
- }.show()
- }
-
-}
\ No newline at end of file