feat: Rework "Cover + Custom" sleep screens to show covers only when currently reading (#1256)

## Summary

The cover/custom setting was a bit misleading to me. Usually after you
start reading a book you never see your customs again unless a cover
fails to render for some reason. With this, you can easily show your
custom images by just sleeping from the menus instead of the reader

## Additional Context

* Add any other information that might be helpful for the reviewer
(e.g., performance implications, potential risks,
  specific areas to focus on).

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? _**< NO >**_
This commit is contained in:
Ian Chasse
2026-04-12 21:03:23 -04:00
committed by GitHub
parent 9bc5111c77
commit 405ce0c3c8
+6 -1
View File
@@ -24,8 +24,13 @@ void SleepActivity::onEnter() {
case (CrossPointSettings::SLEEP_SCREEN_MODE::CUSTOM):
return renderCustomSleepScreen();
case (CrossPointSettings::SLEEP_SCREEN_MODE::COVER):
case (CrossPointSettings::SLEEP_SCREEN_MODE::COVER_CUSTOM):
return renderCoverSleepScreen();
case (CrossPointSettings::SLEEP_SCREEN_MODE::COVER_CUSTOM):
if (APP_STATE.lastSleepFromReader) {
return renderCoverSleepScreen();
} else {
return renderCustomSleepScreen();
}
default:
return renderDefaultSleepScreen();
}