Don't send full Doubles to Comick for progress (#4090)
Previously, user could end up with progress displays like 35.019996643066406/100 because Mihon was sending raw Doubles/simply stringified Doubles for progress data. We now round to 2 decimal places & trim off any trailing zeroes such that integers are sent as "1" instead of "1.0" while retaining "25.5" and "41.02" as such.
This commit is contained in:
@@ -35,6 +35,9 @@ The format is a modified version of [Keep a Changelog](https://keepachangelog.co
|
||||
### Removed
|
||||
- Remove "Custom hardware bitmap threshold" and "Custom display profile" advanced settings ([@wwww-wwww](https://github.com/wwww-wwww)) ([#3786](https://github.com/mihonapp/mihon/pull/3786))
|
||||
|
||||
### Fixed
|
||||
- Fix long floating point numbers showing up in Comick progress ([@MajorTanya](https://github.com/MajorTanya)) ([#4090](https://github.com/mihonapp/mihon/pull/4090))
|
||||
|
||||
## [v0.21.1] - 2026-10-12
|
||||
### Fixed
|
||||
- Fixed refreshing chapters failing with the app language set to Arabic or another language with its own digits ([@AntsyLich](https://github.com/AntsyLich)) ([`8457fb9`](https://github.com/mihonapp/mihon/commit/8457fb9))
|
||||
|
||||
Reference in New Issue
Block a user