From d0470ff3cabdbb3a82b9500abba5111f30518091 Mon Sep 17 00:00:00 2001 From: fvanroie Date: Sun, 20 Dec 2020 22:15:28 +0100 Subject: [PATCH] Enable light/dark theme switch --- src/hasp_http.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/hasp_http.cpp b/src/hasp_http.cpp index 8dabd652..6ef24a5f 100644 --- a/src/hasp_http.cpp +++ b/src/hasp_http.cpp @@ -1504,12 +1504,6 @@ void webHandleHaspConfig() #if LV_USE_THEME_EMPTY == 1 httpMessage += getOption(0, F("Empty"), themeid == 0); #endif - #if LV_USE_THEME_ALIEN == 1 - httpMessage += getOption(1, F("Alien"), themeid == 1); - #endif - #if LV_USE_THEME_NIGHT == 1 - httpMessage += getOption(2, F("Night"), themeid == 2); - #endif #if LV_USE_THEME_MONO == 1 httpMessage += getOption(3, F("Mono"), themeid == 3); #endif @@ -1517,12 +1511,6 @@ void webHandleHaspConfig() httpMessage += getOption(5, F("Material Dark"), themeid == 5); httpMessage += getOption(4, F("Material Light"), themeid == 4); #endif - #if LV_USE_THEME_ZEN == 1 - // httpMessage += getOption(5, F("Zen"), themeid == 5); - #endif - #if LV_USE_THEME_NEMO == 1 - httpMessage += getOption(6, F("Nemo"), themeid == 6); - #endif #if LV_USE_THEME_TEMPLATE == 1 httpMessage += getOption(7, F("Template"), themeid == 7); #endif