Brightness change also needs colorUpdated()

This commit is contained in:
Blaz Kristan 2021-09-29 17:43:54 +02:00
parent dc9d48850f
commit 45e0cbdb25

View File

@ -625,8 +625,8 @@ void decodeIRJson(uint32_t code)
cmdStr = "win&" + cmdStr;
}
handleSet(nullptr, cmdStr, false);
colorUpdated(CALL_MODE_BUTTON);
}
colorUpdated(CALL_MODE_BUTTON);
} else if (!jsonCmdObj.isNull()) {
// command is JSON object
//allow applyPreset() to reuse JSON buffer, or it would alloc. a second buffer and run out of mem.