mirror of
https://github.com/gotson/komga.git
synced 2026-01-06 07:44:35 +01:00
fix(kobo): properly store total progression on state update
This commit is contained in:
parent
c3fc37a5da
commit
fcde9c9376
1 changed files with 2 additions and 2 deletions
|
|
@ -494,8 +494,8 @@ class BookLifecycle(
|
|||
newProgression.modified.toLocalDateTime().toCurrentTimeZone(),
|
||||
newProgression.device.id,
|
||||
newProgression.device.name,
|
||||
// use the type we have instead of the one provided
|
||||
newProgression.locator.copy(type = matchedPosition.type),
|
||||
// use the type we have instead of the one provided, as well as the total progression we computed
|
||||
newProgression.locator.copy(type = matchedPosition.type, locations = newProgression.locator.locations?.copy(totalProgression = totalProgression)),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue