This commit is contained in:
Horis committed 2025-03-23 18:42:02 +08:00
1 parent 1c93b03ef0
commit 503d5700c6
4 files changed
+6 -2

No files matched your search

@@ -925,7 +925,7 @@ object ReadBook : CoroutineScope by MainScope() {
if (simulatedChapterSize > 0 && durChapterIndex > simulatedChapterSize - 1) {
durChapterIndex = simulatedChapterSize - 1
}
clearTextChapter()
callBack ?: clearTextChapter()
}
}
@@ -546,7 +546,7 @@ object ReadManga : CoroutineScope by MainScope() {
if (simulatedChapterSize > 0 && durChapterIndex > simulatedChapterSize - 1) {
durChapterIndex = simulatedChapterSize - 1
}
clearMangaChapter()
mCallback ?: clearMangaChapter()
}
}
@@ -137,6 +137,8 @@ class ReadMangaActivity : VMBaseActivity<ActivityMangaBinding, ReadMangaViewMode
if (it.resultCode == RESULT_OK) {
setResult(RESULT_DELETED)
super.finish()
} else {
ReadManga.loadOrUpContent()
}
}
override val binding by viewBinding(ActivityMangaBinding::inflate)
@@ -198,6 +198,8 @@ class ReadBookActivity : BaseReadBookActivity(),
if (it.resultCode == RESULT_OK) {
setResult(RESULT_DELETED)
super.finish()
} else {
ReadBook.loadOrUpContent()
}
}
private val selectImageDir = registerForActivityResult(HandleFileContract()) {