Skip to content

Commit

Permalink
feat(color): only use red background for alert screens (#5715)
Browse files Browse the repository at this point in the history
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
  • Loading branch information
philmoz and philmoz authored Dec 16, 2024
1 parent c703cb3 commit 12e84b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio/src/gui/colorlcd/libui/fullscreen_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 12e84b5

Please sign in to comment.