From 185993e21a69e9d97abfdb51c0d8dfb5cd4f5a15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20M=C3=BChl?= <31169771+Blueforcer@users.noreply.github.com> Date: Wed, 17 May 2023 00:49:35 +0200 Subject: [PATCH] v0.65 - fixes a bug, where notifications are not shown when youre using an icon. sorry for the circumstances --- src/DisplayManager.cpp | 4 ++-- src/Globals.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/DisplayManager.cpp b/src/DisplayManager.cpp index 5607b1b8..fdf614f6 100644 --- a/src/DisplayManager.cpp +++ b/src/DisplayManager.cpp @@ -757,13 +757,13 @@ void DisplayManager_::generateNotification(const char *json) { newNotification.isGif = false; newNotification.icon = LittleFS.open("/ICONS/" + iconFileName + ".jpg"); - return; + } else if (LittleFS.exists("/ICONS/" + iconFileName + ".gif")) { newNotification.isGif = true; newNotification.icon = LittleFS.open("/ICONS/" + iconFileName + ".gif"); - return; + } else { diff --git a/src/Globals.cpp b/src/Globals.cpp index faae6896..6e99ae0c 100644 --- a/src/Globals.cpp +++ b/src/Globals.cpp @@ -216,7 +216,7 @@ IPAddress gateway; IPAddress subnet; IPAddress primaryDNS; IPAddress secondaryDNS; -const char *VERSION = "0.64"; +const char *VERSION = "0.65"; String MQTT_HOST = ""; uint16_t MQTT_PORT = 1883;