mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix(data): Fixed incorrect library entry chapter count
This commit is contained in:
parent
8dc0938581
commit
da5d1f4203
3 changed files with 3 additions and 3 deletions
|
@ -8,4 +8,4 @@
|
||||||
## Other ?? Technical stuff, what happened behind the scene
|
## Other ?? Technical stuff, what happened behind the scene
|
||||||
-->
|
-->
|
||||||
## Fixes
|
## Fixes
|
||||||
- Fixed incompatibility with J2K backup file
|
- Fixed incorrect library entry chapter count
|
||||||
|
|
|
@ -47,7 +47,7 @@ android {
|
||||||
targetSdk = AndroidConfig.targetSdk
|
targetSdk = AndroidConfig.targetSdk
|
||||||
applicationId = "eu.kanade.tachiyomi"
|
applicationId = "eu.kanade.tachiyomi"
|
||||||
versionCode = 139
|
versionCode = 139
|
||||||
versionName = "1.8.4.4"
|
versionName = "1.8.4.5"
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
multiDexEnabled = true
|
multiDexEnabled = true
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@ class LibraryManga : MangaImpl() {
|
||||||
this.update_strategy = updateStrategy.toInt().let(updateStrategyAdapter::decode)
|
this.update_strategy = updateStrategy.toInt().let(updateStrategyAdapter::decode)
|
||||||
this.read = readCount.roundToInt()
|
this.read = readCount.roundToInt()
|
||||||
this.unread = maxOf((total - readCount).roundToInt(), 0)
|
this.unread = maxOf((total - readCount).roundToInt(), 0)
|
||||||
this.totalChapters = readCount.roundToInt()
|
this.totalChapters = total.toInt()
|
||||||
this.bookmarkCount = bookmarkCount.roundToInt()
|
this.bookmarkCount = bookmarkCount.roundToInt()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue