IFAKA 54d866c679 Handle empty spine in getBookSize() and calculateProgress()
getBookSize() would crash when accessing index -1 if the spine was
empty. calculateProgress() would then divide by zero. Added guards
to return 0 in these edge cases.
2025-12-19 01:11:04 +01:00
..
2025-12-19 08:45:20 +11:00