From cea5cd171af8b5fde02c8fb111958fcd89684b8e Mon Sep 17 00:00:00 2001 From: Jason P Date: Tue, 24 Jun 2025 14:13:28 -0500 Subject: [PATCH] Adjust drawBluetoothConnectedIcon on TWatch --- src/graphics/Screen.cpp | 5 ++--- src/graphics/draw/ClockRenderer.cpp | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/graphics/Screen.cpp b/src/graphics/Screen.cpp index 277695af6..5e3ff5507 100644 --- a/src/graphics/Screen.cpp +++ b/src/graphics/Screen.cpp @@ -142,9 +142,8 @@ void Screen::showOverlayBanner(const char *message, uint32_t durationMs, const c { #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 +#endif + // Store the message and set the expiration timestamp strncpy(NotificationRenderer::alertBannerMessage, message, 255); NotificationRenderer::alertBannerMessage[255] = '\0'; // Ensure null termination NotificationRenderer::alertBannerUntil = (durationMs == 0) ? 0 : millis() + durationMs; diff --git a/src/graphics/draw/ClockRenderer.cpp b/src/graphics/draw/ClockRenderer.cpp index 1b04e071a..3bc4ffdb8 100644 --- a/src/graphics/draw/ClockRenderer.cpp +++ b/src/graphics/draw/ClockRenderer.cpp @@ -195,7 +195,7 @@ void drawDigitalClockFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int1 #ifdef T_WATCH_S3 if (nimbleBluetooth && nimbleBluetooth->isConnected()) { - graphics::ClockRenderer::drawBluetoothConnectedIcon(display, display->getWidth() - 18, y + 2); + graphics::ClockRenderer::drawBluetoothConnectedIcon(display, display->getWidth() - 18, , display->getHeight() - 14); } #endif @@ -311,7 +311,7 @@ void drawAnalogClockFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16 #ifdef T_WATCH_S3 if (nimbleBluetooth && nimbleBluetooth->isConnected()) { - drawBluetoothConnectedIcon(display, display->getWidth() - 18, y + 2); + drawBluetoothConnectedIcon(display, display->getWidth() - 18, display->getHeight() - 14); } #endif // clock face center coordinates