Revert "feat(sleep-screen): add sleep screen orientation setting" (#1877)

Reverts crosspoint-reader/crosspoint-reader#1748

The images in landscape mode are borked.

Cover:
<img width="696" height="1004" alt="image"
src="https://github.com/user-attachments/assets/354950f3-d3db-4c9d-a771-60f0868666d2"
/>

Sleep Screen:
<img width="688" height="1044" alt="image"
src="https://github.com/user-attachments/assets/3d675b55-93c1-4b5f-9e98-10e18e54c53e"
/>
This commit is contained in:
pablohc
2026-05-08 12:31:02 -05:00
committed by GitHub
parent a48ad3cd61
commit b463966045
4 changed files with 1 additions and 8 deletions
+1 -2
View File
@@ -22,12 +22,11 @@ void SleepActivity::onEnter() {
if (APP_STATE.lastSleepFromReader) {
ReaderUtils::applyOrientation(renderer, SETTINGS.orientation);
GUI.drawPopup(renderer, tr(STR_ENTERING_SLEEP));
renderer.setOrientation(GfxRenderer::Orientation::Portrait);
} else {
GUI.drawPopup(renderer, tr(STR_ENTERING_SLEEP));
}
ReaderUtils::applyOrientation(renderer, SETTINGS.sleepScreenOrientation);
switch (SETTINGS.sleepScreen) {
case (CrossPointSettings::SLEEP_SCREEN_MODE::BLANK):
return renderBlankSleepScreen();