Adding custom icon for language button (#117)

This commit is contained in:
mlodawy
2022-05-16 17:10:54 +02:00
committed by GitHub
parent 45db8f3c22
commit 9f013d3d52
3 changed files with 10 additions and 3 deletions

View File

@@ -1724,7 +1724,7 @@ void MenuFunctions::RunSetup()
wifi_scan_obj.currentScanMode = OTA_UPDATE;
changeMenu(&whichUpdateMenu);
});
addNodes(&deviceMenu, "Language", TFT_WHITE, NULL, DRAW, [this]() {
addNodes(&deviceMenu, "Language", TFT_GREEN, NULL, LANGUAGE, [this]() {
wifi_scan_obj.currentScanMode = SHOW_INFO;
changeMenu(&languageMenu);
});