DSP_INVERT_TITLE_OLED_FIX

This commit is contained in:
e2002
2023-03-02 21:50:41 +03:00
parent 27705adaac
commit 320a25c05d

View File

@@ -90,7 +90,7 @@ void Display::_buildPager(){
#endif #endif
#if !defined(DSP_LCD) && DSP_MODEL!=DSP_NOKIA5110 #if !defined(DSP_LCD) && DSP_MODEL!=DSP_NOKIA5110
_plbackground = new FillWidget(playlBGConf, config.theme.plcurrentfill); _plbackground = new FillWidget(playlBGConf, config.theme.plcurrentfill);
#if DSP_INVERT_TITLE #if DSP_INVERT_TITLE || defined(DSP_OLED)
_metabackground = new FillWidget(metaBGConf, config.theme.metafill); _metabackground = new FillWidget(metaBGConf, config.theme.metafill);
#else #else
_metabackground = new FillWidget(metaBGConfInv, config.theme.metafill); _metabackground = new FillWidget(metaBGConfInv, config.theme.metafill);
@@ -164,7 +164,7 @@ void Display::_apScreen() {
#ifndef DSP_LCD #ifndef DSP_LCD
_boot = new Page(); _boot = new Page();
#if DSP_MODEL!=DSP_NOKIA5110 #if DSP_MODEL!=DSP_NOKIA5110
#if DSP_INVERT_TITLE #if DSP_INVERT_TITLE || defined(DSP_OLED)
_boot->addWidget(new FillWidget(metaBGConf, config.theme.metafill)); _boot->addWidget(new FillWidget(metaBGConf, config.theme.metafill));
#else #else
_boot->addWidget(new FillWidget(metaBGConfInv, config.theme.metafill)); _boot->addWidget(new FillWidget(metaBGConfInv, config.theme.metafill));