|
|
@ -234,7 +234,6 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) { |
|
|
|
durChapterIndex++ |
|
|
|
durChapterIndex++ |
|
|
|
prevTextChapter = curTextChapter |
|
|
|
prevTextChapter = curTextChapter |
|
|
|
curTextChapter = nextTextChapter |
|
|
|
curTextChapter = nextTextChapter |
|
|
|
nextTextChapter = null |
|
|
|
|
|
|
|
bookData.value?.let { |
|
|
|
bookData.value?.let { |
|
|
|
launch(IO) { |
|
|
|
launch(IO) { |
|
|
|
for (i in 0..10) { |
|
|
|
for (i in 0..10) { |
|
|
@ -251,7 +250,6 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) { |
|
|
|
durChapterIndex-- |
|
|
|
durChapterIndex-- |
|
|
|
nextTextChapter = curTextChapter |
|
|
|
nextTextChapter = curTextChapter |
|
|
|
curTextChapter = prevTextChapter |
|
|
|
curTextChapter = prevTextChapter |
|
|
|
prevTextChapter = null |
|
|
|
|
|
|
|
bookData.value?.let { |
|
|
|
bookData.value?.let { |
|
|
|
launch(IO) { |
|
|
|
launch(IO) { |
|
|
|
for (i in -5..0) { |
|
|
|
for (i in -5..0) { |
|
|
|