Formatting.

This commit is contained in:
Jonas Diemer 2025-12-17 12:40:45 +01:00
parent 12463011b7
commit 40f86dd04f

View File

@ -317,9 +317,7 @@ int Epub::getTocIndexForSpineIndex(const int spineIndex) const {
return -1; return -1;
} }
size_t Epub::getBookSize() const { size_t Epub::getBookSize() const { return getCumulativeSpineItemSize(getSpineItemsCount() - 1); }
return getCumulativeSpineItemSize(getSpineItemsCount() - 1);
}
// Calculate progress in book // Calculate progress in book
uint8_t Epub::calculateProgress(const int currentSpineIndex, const float currentSpineRead) { uint8_t Epub::calculateProgress(const int currentSpineIndex, const float currentSpineRead) {