From 6d3df46a2023b59097dfe47779d796f7a744bf24 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 24 Jul 2021 13:27:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/legado/app/ui/association/ImportReplaceRuleDialog.kt | 6 ------ .../io/legado/app/ui/association/ImportRssSourceDialog.kt | 6 ------ 2 files changed, 12 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/association/ImportReplaceRuleDialog.kt b/app/src/main/java/io/legado/app/ui/association/ImportReplaceRuleDialog.kt index cd5ccf0d4..dce88a04c 100644 --- a/app/src/main/java/io/legado/app/ui/association/ImportReplaceRuleDialog.kt +++ b/app/src/main/java/io/legado/app/ui/association/ImportReplaceRuleDialog.kt @@ -1,7 +1,6 @@ package io.legado.app.ui.association import android.content.Context -import android.content.DialogInterface import android.os.Bundle import android.view.LayoutInflater 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) : RecyclerAdapter(context) { diff --git a/app/src/main/java/io/legado/app/ui/association/ImportRssSourceDialog.kt b/app/src/main/java/io/legado/app/ui/association/ImportRssSourceDialog.kt index a874d4259..f5fea4d57 100644 --- a/app/src/main/java/io/legado/app/ui/association/ImportRssSourceDialog.kt +++ b/app/src/main/java/io/legado/app/ui/association/ImportRssSourceDialog.kt @@ -2,7 +2,6 @@ package io.legado.app.ui.association import android.annotation.SuppressLint import android.content.Context -import android.content.DialogInterface import android.os.Bundle import android.view.LayoutInflater import android.view.MenuItem @@ -187,11 +186,6 @@ class ImportRssSourceDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickListe return false } - override fun onDismiss(dialog: DialogInterface) { - super.onDismiss(dialog) - activity?.finish() - } - inner class SourcesAdapter(context: Context) : RecyclerAdapter(context) {