mirror of
https://github.com/adityachandelgit/BookLore.git
synced 2026-02-18 03:07:40 +01:00
Previously if any file in the epub was invalid-ly packed into the zip container, the covers will fail to fetch due to the EpubReader trying to load everything in the file into memory. This patch fixes this by making the EpubReader lazy-load all of the files in the epub so we only actually try to read the strictly-necesasry files to find the cover. This should also improve loading times ever so slightly by not needing to read everything in for no reason.