- This firmware build does not include simplified UI support.
-
-
Enable simplified UI:
+ Enable simplified UI: The following UI customization settings are unique both to the WLED device and this browser.
You will need to set them again if using a different browser, device or WLED IP address.
Refresh the main UI to apply changes.
diff --git a/wled00/set.cpp b/wled00/set.cpp
index a12ecd30b..ab830a97c 100644
--- a/wled00/set.cpp
+++ b/wled00/set.cpp
@@ -296,13 +296,7 @@ void handleSettingsSet(AsyncWebServerRequest *request, byte subPage)
{
strlcpy(serverDescription, request->arg(F("DS")).c_str(), 33);
//syncToggleReceive = request->hasArg(F("ST"));
- #ifdef WLED_ENABLE_SIMPLE_UI
- if (simplifiedUI ^ request->hasArg(F("SU"))) {
- // UI selection changed, invalidate browser cache
- cacheInvalidate++;
- }
simplifiedUI = request->hasArg(F("SU"));
- #endif
DEBUG_PRINTLN(F("Enumerating ledmaps"));
enumerateLedmaps();
DEBUG_PRINTLN(F("Loading custom palettes"));
diff --git a/wled00/wled.h b/wled00/wled.h
index 7690679f2..25be2c9ec 100644
--- a/wled00/wled.h
+++ b/wled00/wled.h
@@ -365,7 +365,7 @@ WLED_GLOBAL char serverDescription[33] _INIT(SERVERNAME); // use predefined nam
#endif
//WLED_GLOBAL bool syncToggleReceive _INIT(false); // UIs which only have a single button for sync should toggle send+receive if this is true, only send otherwise
WLED_GLOBAL bool simplifiedUI _INIT(false); // enable simplified UI
-WLED_GLOBAL byte cacheInvalidate _INIT(0); // used to invalidate browser cache when switching from regular to simplified UI
+WLED_GLOBAL byte cacheInvalidate _INIT(0); // used to invalidate browser cache
// Sync CONFIG
WLED_GLOBAL NodesMap Nodes;
diff --git a/wled00/xml.cpp b/wled00/xml.cpp
index c5bae5805..9a7fc4acd 100644
--- a/wled00/xml.cpp
+++ b/wled00/xml.cpp
@@ -475,11 +475,7 @@ void getSettingsJS(byte subPage, char* dest)
{
sappends('s',SET_F("DS"),serverDescription);
//sappend('c',SET_F("ST"),syncToggleReceive);
- #ifdef WLED_ENABLE_SIMPLE_UI
sappend('c',SET_F("SU"),simplifiedUI);
- #else
- oappend(SET_F("toggle('Simple');")); // hide Simplified UI settings
- #endif
}
if (subPage == SUBPAGE_SYNC)