|
|
@ -22,7 +22,6 @@ import io.legado.app.service.ReadAloudService |
|
|
|
import io.legado.app.ui.changesource.ChangeSourceDialog |
|
|
|
import io.legado.app.ui.changesource.ChangeSourceDialog |
|
|
|
import io.legado.app.ui.chapterlist.ChapterListActivity |
|
|
|
import io.legado.app.ui.chapterlist.ChapterListActivity |
|
|
|
import io.legado.app.ui.readbook.config.MoreConfigDialog |
|
|
|
import io.legado.app.ui.readbook.config.MoreConfigDialog |
|
|
|
import io.legado.app.ui.readbook.config.ReadAloudDialog |
|
|
|
|
|
|
|
import io.legado.app.ui.readbook.config.ReadStyleDialog |
|
|
|
import io.legado.app.ui.readbook.config.ReadStyleDialog |
|
|
|
import io.legado.app.ui.replacerule.ReplaceRuleActivity |
|
|
|
import io.legado.app.ui.replacerule.ReplaceRuleActivity |
|
|
|
import io.legado.app.ui.sourceedit.SourceEditActivity |
|
|
|
import io.legado.app.ui.sourceedit.SourceEditActivity |
|
|
@ -143,14 +142,6 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_rea |
|
|
|
MoreConfigDialog().show(supportFragmentManager, "moreConfig") |
|
|
|
MoreConfigDialog().show(supportFragmentManager, "moreConfig") |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override fun showReadAloud(): Boolean { |
|
|
|
|
|
|
|
if (readAloudStatus == Status.STOP) { |
|
|
|
|
|
|
|
return false |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
ReadAloudDialog().show(supportFragmentManager, "readAloud") |
|
|
|
|
|
|
|
return true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
override fun menuShow() { |
|
|
|
override fun menuShow() { |
|
|
|
Help.upSystemUiVisibility(window, !read_menu.isVisible) |
|
|
|
Help.upSystemUiVisibility(window, !read_menu.isVisible) |
|
|
|
} |
|
|
|
} |
|
|
|