feat(color): only use red background for alert screens (#5715)

Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
This commit is contained in:
philmoz
2024-12-17 06:13:24 +10:00
committed by GitHub
co-authored by philmoz
parent c703cb3ac9
commit 12e84b5710
@@ -40,7 +40,7 @@ FullScreenDialog::FullScreenDialog(
confirmHandler(confirmHandler)
{
setWindowFlag(OPAQUE);
etx_solid_bg(lvobj, COLOR_THEME_WARNING_INDEX);
etx_solid_bg(lvobj, (type == WARNING_TYPE_ALERT) ? COLOR_THEME_WARNING_INDEX : COLOR_THEME_SECONDARY1_INDEX);
// In case alert raised while splash screen is showing.
cancelSplash();