From 2ee9a998830c9119691273350f251afefef6aff6 Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 16 Dec 2019 11:53:26 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/service/AudioPlayService.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ->