[apps][ion] Yellow LED is equivalent to Dutch exam mode, do not update

the LED color (with plugging/charging events) if the displayed color was Red or Yellow
This commit is contained in:
Émilie Feral
2019-12-19 15:10:32 +01:00
committed by LeaNumworks
parent 01ab6b5aeb
commit 96c63bd4a5
2 changed files with 2 additions and 2 deletions

View File

@@ -327,7 +327,7 @@ void AppsContainer::redrawWindow() {
void AppsContainer::activateExamMode(GlobalPreferences::ExamMode examMode) {
assert(examMode == GlobalPreferences::ExamMode::Standard || examMode == GlobalPreferences::ExamMode::Dutch);
reset();
Ion::LED::setColor(examMode == GlobalPreferences::ExamMode::Dutch ? KDColorOrange : KDColorRed);
Ion::LED::setColor(examMode == GlobalPreferences::ExamMode::Dutch ? KDColorYellow : KDColorRed);
Ion::LED::setBlinking(1000, 0.1f);
}