refactor: pass precomputed BookOverlayInfo to renderBitmapSleepScreen

This commit is contained in:
pablohc
2026-03-29 22:14:21 +02:00
parent 1a7acd91bb
commit fbeaf48e32
3 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ class SleepActivity final : public Activity {
void renderDefaultSleepScreen() const;
void renderCustomSleepScreen() const;
void renderCoverSleepScreen() const;
void renderBitmapSleepScreen(const Bitmap& bitmap) const;
void renderBitmapSleepScreen(const Bitmap& bitmap, const BookOverlayInfo& overlayInfo) const;
void renderBlankSleepScreen() const;
BookOverlayInfo getBookOverlayInfo(const std::string& bookPath) const;
};