From 7b421297aea2989b6e74dec0a28b9e21e1541315 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakob=20Schr=C3=B6ter?=
<487046+jschroeter@users.noreply.github.com>
Date: Sat, 8 Jun 2024 21:59:51 +0200
Subject: [PATCH 1/2] fix HTML title + logo as SVG
---
firmware/esp32/gdoor/src/wifi_helper.cpp | 3 ++-
firmware/esp32/gdoor/src/wifi_helper.h | 2 --
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/firmware/esp32/gdoor/src/wifi_helper.cpp b/firmware/esp32/gdoor/src/wifi_helper.cpp
index b89f210..509bfb9 100644
--- a/firmware/esp32/gdoor/src/wifi_helper.cpp
+++ b/firmware/esp32/gdoor/src/wifi_helper.cpp
@@ -314,7 +314,8 @@ namespace WIFI_HELPER { //Namespace as we can only use it once
JSONPRINT("Could not mount filesystem on load");
}
- wifiManager.setTitle(GDOOR_LOGO);
+ wifiManager.setTitle("GDoor");
+ wifiManager.setCustomHeadElement("");
wifiManager.setBackButton(true);
wifiManager.addParameter(&custom_mqtt_server);
diff --git a/firmware/esp32/gdoor/src/wifi_helper.h b/firmware/esp32/gdoor/src/wifi_helper.h
index 2e4179f..6b51918 100644
--- a/firmware/esp32/gdoor/src/wifi_helper.h
+++ b/firmware/esp32/gdoor/src/wifi_helper.h
@@ -19,8 +19,6 @@
#define WIFI_H
#include
-#define GDOOR_LOGO ("")
-
namespace WIFI_HELPER { //Namespace as we can only use it once
void loop();
void setup();
From 898061bf9187d2c1cb559459eb725363af2a5f98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakob=20Schr=C3=B6ter?=
<487046+jschroeter@users.noreply.github.com>
Date: Sun, 9 Jun 2024 11:44:41 +0200
Subject: [PATCH 2/2] final SVG logo
---
firmware/esp32/gdoor/src/wifi_helper.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/firmware/esp32/gdoor/src/wifi_helper.cpp b/firmware/esp32/gdoor/src/wifi_helper.cpp
index 509bfb9..4c8d0af 100644
--- a/firmware/esp32/gdoor/src/wifi_helper.cpp
+++ b/firmware/esp32/gdoor/src/wifi_helper.cpp
@@ -315,7 +315,8 @@ namespace WIFI_HELPER { //Namespace as we can only use it once
}
wifiManager.setTitle("GDoor");
- wifiManager.setCustomHeadElement("");
+
+ wifiManager.setCustomHeadElement("");
wifiManager.setBackButton(true);
wifiManager.addParameter(&custom_mqtt_server);