pull/1171/head
gedoor 3 years ago
parent 83330cf30d
commit 6d3df46a20
  1. 6
      app/src/main/java/io/legado/app/ui/association/ImportReplaceRuleDialog.kt
  2. 6
      app/src/main/java/io/legado/app/ui/association/ImportRssSourceDialog.kt

@ -1,7 +1,6 @@
package io.legado.app.ui.association package io.legado.app.ui.association
import android.content.Context import android.content.Context
import android.content.DialogInterface
import android.os.Bundle import android.os.Bundle
import android.view.LayoutInflater import android.view.LayoutInflater
import android.view.View import android.view.View
@ -135,11 +134,6 @@ class ImportReplaceRuleDialog : BaseDialogFragment() {
} }
} }
override fun onDismiss(dialog: DialogInterface) {
super.onDismiss(dialog)
activity?.finish()
}
inner class SourcesAdapter(context: Context) : inner class SourcesAdapter(context: Context) :
RecyclerAdapter<ReplaceRule, ItemSourceImportBinding>(context) { RecyclerAdapter<ReplaceRule, ItemSourceImportBinding>(context) {

@ -2,7 +2,6 @@ package io.legado.app.ui.association
import android.annotation.SuppressLint import android.annotation.SuppressLint
import android.content.Context import android.content.Context
import android.content.DialogInterface
import android.os.Bundle import android.os.Bundle
import android.view.LayoutInflater import android.view.LayoutInflater
import android.view.MenuItem import android.view.MenuItem
@ -187,11 +186,6 @@ class ImportRssSourceDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickListe
return false return false
} }
override fun onDismiss(dialog: DialogInterface) {
super.onDismiss(dialog)
activity?.finish()
}
inner class SourcesAdapter(context: Context) : inner class SourcesAdapter(context: Context) :
RecyclerAdapter<RssSource, ItemSourceImportBinding>(context) { RecyclerAdapter<RssSource, ItemSourceImportBinding>(context) {

Loading…
Cancel
Save