Review comments

This commit is contained in:
jpirnay
2026-04-06 10:52:05 +02:00
parent b1462b37b7
commit 26dc65735f
+2 -1
View File
@@ -183,7 +183,8 @@ void SleepActivity::onEnter() {
} }
void SleepActivity::renderCustomSleepScreen() const { void SleepActivity::renderCustomSleepScreen() const {
const BookOverlayInfo overlayInfo = (SETTINGS.sleepCoverOverlay != 0 && !APP_STATE.openEpubPath.empty()) const BookOverlayInfo overlayInfo =
(SETTINGS.sleepCoverOverlay != 0 && APP_STATE.lastSleepFromReader && !APP_STATE.openEpubPath.empty())
? getBookOverlayInfo(APP_STATE.openEpubPath) ? getBookOverlayInfo(APP_STATE.openEpubPath)
: BookOverlayInfo{}; : BookOverlayInfo{};