From 89e89762177e1a393c224fce615f106462544351 Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 4 May 2021 19:11:19 +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 --- .../app/ui/association/FileAssociationActivity.kt | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/association/FileAssociationActivity.kt b/app/src/main/java/io/legado/app/ui/association/FileAssociationActivity.kt index 67aec440f..8401830c6 100644 --- a/app/src/main/java/io/legado/app/ui/association/FileAssociationActivity.kt +++ b/app/src/main/java/io/legado/app/ui/association/FileAssociationActivity.kt @@ -1,14 +1,10 @@ package io.legado.app.ui.association -import android.content.Intent import android.os.Bundle import androidx.activity.viewModels import io.legado.app.base.VMBaseActivity import io.legado.app.constant.Theme import io.legado.app.databinding.ActivityTranslucenceBinding -import io.legado.app.ui.main.MainActivity -import io.legado.app.utils.startActivity - import io.legado.app.utils.toastOnUi class FileAssociationActivity : @@ -39,14 +35,4 @@ class FileAssociationActivity : } } - override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { - super.onActivityResult(requestCode, resultCode, data) - finish() - //返回后直接跳转到主页面 - gotoMainActivity() - } - - private fun gotoMainActivity() { - startActivity() - } }