fix(color): restore prior startup and shutdown behaviour (#4865)

This commit is contained in:
philmoz
2024-04-09 15:17:18 +10:00
committed by GitHub
parent 24bae0df0c
commit fb45009fd4
3 changed files with 5 additions and 6 deletions
+2 -2
View File
@@ -194,7 +194,7 @@ void drawSleepBitmap()
} else {
shutdownWindow = new Window(MainWindow::instance(), {0, 0, LCD_W, LCD_H});
shutdownWindow->setWindowFlag(OPAQUE);
etx_solid_bg(shutdownWindow->getLvObj(), COLOR_BLACK_INDEX);
etx_solid_bg(shutdownWindow->getLvObj(), COLOR_THEME_PRIMARY1_INDEX);
}
(new StaticIcon(shutdownWindow, 0, 0, ICON_SHUTDOWN, COLOR_THEME_PRIMARY2))
@@ -221,7 +221,7 @@ void drawShutdownAnimation(uint32_t duration, uint32_t totalDuration,
if (shutdownWindow == nullptr) {
shutdownWindow = new Window(MainWindow::instance(), {0, 0, LCD_W, LCD_H});
shutdownWindow->setWindowFlag(OPAQUE);
etx_solid_bg(shutdownWindow->getLvObj(), COLOR_BLACK_INDEX);
etx_solid_bg(shutdownWindow->getLvObj(), COLOR_THEME_PRIMARY1_INDEX);
if (sdMounted() && !shutdownSplashImg)
shutdownSplashImg = BitmapBuffer::loadBitmap(