Set an "error" class instead of hardcoding a text color.

This commit is contained in:
David Fifield 2019-07-22 22:54:01 -06:00
parent 8a56baa8e1
commit 8f885c7557
4 changed files with 19 additions and 5 deletions

View file

@ -16,7 +16,7 @@ class BadgeUI extends UI {
missingFeature(missing) {
this.popup.setImgSrc('off');
this.popup.setStatusText("Snowflake is off");
this.popup.setStatusDesc(missing, 'firebrick');
this.popup.setStatusDesc(missing, true);
this.popup.hideButton();
}