优化
This commit is contained in:
1 parent
a146316249
commit
28b77d58c3
1 file changed
+2
-1
@@ -354,7 +354,8 @@ object CacheBook {
|
|||||||
book,
|
book,
|
||||||
chapter,
|
chapter,
|
||||||
start = CoroutineStart.LAZY,
|
start = CoroutineStart.LAZY,
|
||||||
executeContext = IO
|
executeContext = IO,
|
||||||
|
semaphore = semaphore
|
||||||
).onSuccess { content ->
|
).onSuccess { content ->
|
||||||
onSuccess(chapter)
|
onSuccess(chapter)
|
||||||
ReadBook.downloadedChapters.add(chapter.index)
|
ReadBook.downloadedChapters.add(chapter.index)
|
||||||
|
|||||||
Reference in new issue
Block a user