diff options
Diffstat (limited to 'apps/gui/viewport.c')
-rw-r--r-- | apps/gui/viewport.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c index 3c5249cff9..ad9fad6846 100644 --- a/apps/gui/viewport.c +++ b/apps/gui/viewport.c | |||
@@ -89,8 +89,9 @@ static void toggle_theme(enum screen_type screen, bool force) | |||
89 | add_event(PLAYBACK_EVENT_NEXTTRACKID3_AVAILABLE, false, | 89 | add_event(PLAYBACK_EVENT_NEXTTRACKID3_AVAILABLE, false, |
90 | do_sbs_update_callback); | 90 | do_sbs_update_callback); |
91 | 91 | ||
92 | #if LCD_DEPTH > 1 | ||
92 | screens[screen].backdrop_show(BACKDROP_MAIN); | 93 | screens[screen].backdrop_show(BACKDROP_MAIN); |
93 | 94 | #endif | |
94 | /* remove the left overs from the previous screen. | 95 | /* remove the left overs from the previous screen. |
95 | * could cause a tiny flicker. Redo your screen code if that happens */ | 96 | * could cause a tiny flicker. Redo your screen code if that happens */ |
96 | if (!was_enabled[screen] || force) | 97 | if (!was_enabled[screen] || force) |
@@ -145,7 +146,9 @@ static void toggle_theme(enum screen_type screen, bool force) | |||
145 | { | 146 | { |
146 | FOR_NB_SCREENS(i) | 147 | FOR_NB_SCREENS(i) |
147 | { | 148 | { |
149 | #if LCD_DEPTH > 1 | ||
148 | screens[i].backdrop_hide(); | 150 | screens[i].backdrop_hide(); |
151 | #endif | ||
149 | screens[i].stop_scroll(); | 152 | screens[i].stop_scroll(); |
150 | } | 153 | } |
151 | 154 | ||