pull/1395/head
gedoor 3 years ago
parent 57ef8d9b73
commit e5cc724097
  1. 3
      app/src/main/java/io/legado/app/ui/association/OnLineImportActivity.kt

@ -7,7 +7,6 @@ import io.legado.app.base.VMBaseActivity
import io.legado.app.databinding.ActivityTranslucenceBinding
import io.legado.app.lib.dialogs.alert
import io.legado.app.utils.showDialogFragment
import io.legado.app.utils.toastOnUi
import io.legado.app.utils.viewbindingdelegate.viewBinding
/**
@ -76,7 +75,7 @@ class OnLineImportActivity :
ImportReplaceRuleDialog(url, true)
)
else -> {
toastOnUi("url error")
viewModel.determineType(url, this::finallyDialog)
finish()
}
}

Loading…
Cancel
Save