Skip to content

Commit

Permalink
StatusView: use B_FAILURE_COLOR instead of hardcoding red as suggeste…
Browse files Browse the repository at this point in the history
…d by Humdinger
  • Loading branch information
jackburton79 committed Dec 6, 2024
1 parent 9190d18 commit 8733d08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/GlobalStatusView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ GlobalStatusView::MessageReceived(BMessage *message)
fStringView->SetText(text.String());

if (status != B_OK) {
// Red text on fail
fStringView->SetHighColor(240, 0, 0);
// On fail
fStringView->SetHighColor(ui_color(B_FAILURE_COLOR));
// beep();
} else
fStringView->SetHighColor(ui_color(B_CONTROL_TEXT_COLOR));
Expand Down

0 comments on commit 8733d08

Please sign in to comment.