fix color formatting

This commit is contained in:
triplem 2019-09-07 22:05:59 +02:00
parent 1687d13952
commit 0bec3cb224

View file

@ -128,7 +128,7 @@ class StatuslightHandler {
double resUrgent = SP.getDouble(criticalSetting, criticalDefaultValue); double resUrgent = SP.getDouble(criticalSetting, criticalDefaultValue);
double resWarn = SP.getDouble(warnSetting, warnDefaultValue); double resWarn = SP.getDouble(warnSetting, warnDefaultValue);
view.setText(text + DecimalFormatter.to0Decimal(level)); view.setText(text + DecimalFormatter.to0Decimal(level));
SetWarnColor.setColor(view, level, resWarn, resUrgent); SetWarnColor.setColorInverse(view, level, resWarn, resUrgent);
} }
} }