mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
When using Reference page numbers, "Pages left" was showing the same info as "Current page", because Reference pages, being strings, couldn't be used for arithmetics. But we can just count the number of items left in the Reference pages array of strings. Also fix edge case with "page progress" with hidden flow when we are before the first chapter with a hidden flow before.