From 7167542db0f625716b7f69c2968ba27714392078 Mon Sep 17 00:00:00 2001 From: gedoor Date: Thu, 25 Jun 2020 21:38:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/ui/main/MainActivity.kt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/main/MainActivity.kt b/app/src/main/java/io/legado/app/ui/main/MainActivity.kt index 1eb3250e0..a417f4ca1 100644 --- a/app/src/main/java/io/legado/app/ui/main/MainActivity.kt +++ b/app/src/main/java/io/legado/app/ui/main/MainActivity.kt @@ -18,7 +18,6 @@ import io.legado.app.help.AppConfig import io.legado.app.help.storage.Backup import io.legado.app.lib.theme.ATH import io.legado.app.service.BaseReadAloudService -import io.legado.app.service.help.ReadAloud import io.legado.app.ui.main.bookshelf.BookshelfFragment import io.legado.app.ui.main.explore.ExploreFragment import io.legado.app.ui.main.my.MyFragment @@ -144,11 +143,6 @@ class MainActivity : VMBaseActivity(R.layout.activity_main), } } - override fun onDestroy() { - super.onDestroy() - ReadAloud.stop(this) - } - override fun observeLiveBus() { observeEvent(EventBus.RECREATE) { recreate()