This commit is contained in:
Horis committed 2025-03-21 15:46:52 +08:00
1 parent f6ba31bd0d
commit 7f77fe0bd6
2 files changed
+3 -2

No files matched your search

@@ -329,7 +329,8 @@ class ReadMangaActivity : VMBaseActivity<ActivityMangaBinding, ReadMangaViewMode
} else {
var percent =
df.format(
chapterIndex * 1.0f / chapterSize + 1.0f / chapterSize * (chapterPos + 1) / imageCount.toDouble()
chapterIndex * 1.0f / chapterSize + 1.0f /
chapterSize * (chapterPos + 1) / imageCount.toDouble()
)
if (percent == "100.0%" && (chapterIndex + 1 != chapterSize || chapterPos + 1 != imageCount)) {
percent = "99.9%"