Review comments
This commit is contained in:
@@ -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{};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user