feat(color): only use red background for alert screens (#5715)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
This commit is contained in:
@@ -40,7 +40,7 @@ FullScreenDialog::FullScreenDialog(
|
|||||||
confirmHandler(confirmHandler)
|
confirmHandler(confirmHandler)
|
||||||
{
|
{
|
||||||
setWindowFlag(OPAQUE);
|
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.
|
// In case alert raised while splash screen is showing.
|
||||||
cancelSplash();
|
cancelSplash();
|
||||||
|
|||||||
Reference in New Issue
Block a user