From 14ce620825aa6c138315369c13ea3b64eb94cb3d Mon Sep 17 00:00:00 2001 From: wipedlifepotato Date: Mon, 18 Aug 2025 19:52:43 +0700 Subject: [PATCH] fix logic --- daemon/HTTPServer.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/daemon/HTTPServer.cpp b/daemon/HTTPServer.cpp index 73b5a6e3..c4dedf61 100644 --- a/daemon/HTTPServer.cpp +++ b/daemon/HTTPServer.cpp @@ -1498,11 +1498,8 @@ namespace http { { std::string theme; i2p::config::GetOption("http.theme", theme); - if (theme != "light" && theme != "black" && theme !="white") - { - - } - LoadExtCSS(); + if (theme != "light" && theme != "black" && theme !="white") LoadExtCSS(theme); + else LoadExtCSS(); } else {