From c5e3bc841ec376b42648b08d45a2437b3fb94b81 Mon Sep 17 00:00:00 2001 From: HarukiToreda <116696711+HarukiToreda@users.noreply.github.com> Date: Tue, 24 Jun 2025 14:52:43 -0400 Subject: [PATCH] Suppress action screen Full refresh for Eink --- src/graphics/Screen.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/graphics/Screen.cpp b/src/graphics/Screen.cpp index 9e1318f2c..277695af6 100644 --- a/src/graphics/Screen.cpp +++ b/src/graphics/Screen.cpp @@ -140,7 +140,11 @@ extern bool hasUnreadMessage; void Screen::showOverlayBanner(const char *message, uint32_t durationMs, const char **optionsArrayPtr, uint8_t options, std::function bannerCallback, int8_t InitialSelected) { - // Store the message and set the expiration timestamp +#ifdef USE_EINK + EINK_ADD_FRAMEFLAG(dispdev, DEMAND_FAST); // Skip full refresh for all overlay menus +#endif + // Store the message and set the expirati + on timestamp strncpy(NotificationRenderer::alertBannerMessage, message, 255); NotificationRenderer::alertBannerMessage[255] = '\0'; // Ensure null termination NotificationRenderer::alertBannerUntil = (durationMs == 0) ? 0 : millis() + durationMs;