diff --git a/app/src/main/java/io/legado/app/service/AudioPlayService.kt b/app/src/main/java/io/legado/app/service/AudioPlayService.kt index 32af89cf9..3304cbe83 100644 --- a/app/src/main/java/io/legado/app/service/AudioPlayService.kt +++ b/app/src/main/java/io/legado/app/service/AudioPlayService.kt @@ -258,14 +258,14 @@ class AudioPlayService : BaseService(), postEvent(Bus.AUDIO_SIZE, chapter.end?.toInt() ?: 0) postEvent(Bus.AUDIO_PROGRESS, position) } - download(chapter) + loadContent(chapter) } ?: removeLoading(index) } } } } - private fun download(chapter: BookChapter) { + private fun loadContent(chapter: BookChapter) { AudioPlay.book?.let { book -> AudioPlay.webBook?.getContent(book, chapter, scope = this) ?.onSuccess(IO) { content -> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 602c75ca4..6231a701f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -444,8 +444,7 @@ 发现 切换显示样式 导入本地书籍需存储权限 - 点击可切换到白天模式 - 点击可切换到夜间模式 + 夜间模式 本软件需要存储权限来存储备份书籍信息 再按一次退出程序 导入本地书籍需存储权限 diff --git a/app/src/main/res/xml/pref_main.xml b/app/src/main/res/xml/pref_main.xml index abe6e9b08..297298599 100644 --- a/app/src/main/res/xml/pref_main.xml +++ b/app/src/main/res/xml/pref_main.xml @@ -12,6 +12,12 @@ android:title="@string/replace_purify" app:iconSpaceReserved="false" /> + +