|
|
|
@ -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<MainViewModel>(R.layout.activity_main), |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
override fun onDestroy() { |
|
|
|
|
super.onDestroy() |
|
|
|
|
ReadAloud.stop(this) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
override fun observeLiveBus() { |
|
|
|
|
observeEvent<String>(EventBus.RECREATE) { |
|
|
|
|
recreate() |
|
|
|
|