Adjust drawBluetoothConnectedIcon on TWatch

This commit is contained in:
Jason P 2025-06-24 14:13:28 -05:00
parent c5e3bc841e
commit cea5cd171a
2 changed files with 4 additions and 5 deletions

View File

@ -143,8 +143,7 @@ void Screen::showOverlayBanner(const char *message, uint32_t durationMs, const c
#ifdef USE_EINK #ifdef USE_EINK
EINK_ADD_FRAMEFLAG(dispdev, DEMAND_FAST); // Skip full refresh for all overlay menus EINK_ADD_FRAMEFLAG(dispdev, DEMAND_FAST); // Skip full refresh for all overlay menus
#endif #endif
// Store the message and set the expirati // Store the message and set the expiration timestamp
on timestamp
strncpy(NotificationRenderer::alertBannerMessage, message, 255); strncpy(NotificationRenderer::alertBannerMessage, message, 255);
NotificationRenderer::alertBannerMessage[255] = '\0'; // Ensure null termination NotificationRenderer::alertBannerMessage[255] = '\0'; // Ensure null termination
NotificationRenderer::alertBannerUntil = (durationMs == 0) ? 0 : millis() + durationMs; NotificationRenderer::alertBannerUntil = (durationMs == 0) ? 0 : millis() + durationMs;

View File

@ -195,7 +195,7 @@ void drawDigitalClockFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int1
#ifdef T_WATCH_S3 #ifdef T_WATCH_S3
if (nimbleBluetooth && nimbleBluetooth->isConnected()) { if (nimbleBluetooth && nimbleBluetooth->isConnected()) {
graphics::ClockRenderer::drawBluetoothConnectedIcon(display, display->getWidth() - 18, y + 2); graphics::ClockRenderer::drawBluetoothConnectedIcon(display, display->getWidth() - 18, , display->getHeight() - 14);
} }
#endif #endif
@ -311,7 +311,7 @@ void drawAnalogClockFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16
#ifdef T_WATCH_S3 #ifdef T_WATCH_S3
if (nimbleBluetooth && nimbleBluetooth->isConnected()) { if (nimbleBluetooth && nimbleBluetooth->isConnected()) {
drawBluetoothConnectedIcon(display, display->getWidth() - 18, y + 2); drawBluetoothConnectedIcon(display, display->getWidth() - 18, display->getHeight() - 14);
} }
#endif #endif
// clock face center coordinates // clock face center coordinates