diff options
Diffstat (limited to 'apps/gui/viewport.c')
-rw-r--r-- | apps/gui/viewport.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c index 34ebbf9043..df8093d581 100644 --- a/apps/gui/viewport.c +++ b/apps/gui/viewport.c | |||
@@ -272,13 +272,10 @@ void viewportmanager_theme_changed(const int which) | |||
272 | screens[SCREEN_MAIN].has_buttonbar = global_settings.buttonbar; | 272 | screens[SCREEN_MAIN].has_buttonbar = global_settings.buttonbar; |
273 | } | 273 | } |
274 | #endif | 274 | #endif |
275 | if (which & THEME_UI_VIEWPORT) | ||
276 | { | ||
277 | } | ||
278 | if (which & THEME_LANGUAGE) | 275 | if (which & THEME_LANGUAGE) |
279 | { | 276 | { |
280 | } | 277 | } |
281 | if (which & THEME_STATUSBAR) | 278 | if (which & (THEME_STATUSBAR|THEME_UI_VIEWPORT)) |
282 | { | 279 | { |
283 | FOR_NB_SCREENS(i) | 280 | FOR_NB_SCREENS(i) |
284 | { | 281 | { |
@@ -324,7 +321,7 @@ void viewport_set_fullscreen(struct viewport *vp, | |||
324 | #ifndef __PCTOOL__ | 321 | #ifndef __PCTOOL__ |
325 | set_default_align_flags(vp); | 322 | set_default_align_flags(vp); |
326 | #endif | 323 | #endif |
327 | vp->font = FONT_UI + screen; /* default to UI to discourage SYSFONT use */ | 324 | vp->font = global_status.font_id[screen]; |
328 | vp->drawmode = DRMODE_SOLID; | 325 | vp->drawmode = DRMODE_SOLID; |
329 | #if LCD_DEPTH > 1 | 326 | #if LCD_DEPTH > 1 |
330 | #ifdef HAVE_REMOTE_LCD | 327 | #ifdef HAVE_REMOTE_LCD |