mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-06 21:54:44 +00:00
Update src/graphics/draw/NotificationRenderer.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
d1c86a088a
commit
e7e15af282
@ -84,7 +84,7 @@ void NotificationRenderer::drawAlertBannerOverlay(OLEDDisplay *display, OLEDDisp
|
|||||||
constexpr uint16_t padding = 5; // Padding around text inside the box
|
constexpr uint16_t padding = 5; // Padding around text inside the box
|
||||||
constexpr uint8_t lineSpacing = 1; // Extra space between lines
|
constexpr uint8_t lineSpacing = 1; // Extra space between lines
|
||||||
|
|
||||||
// Search the mesage to determine if we need the bell added
|
// Search the message to determine if we need the bell added
|
||||||
bool needs_bell = (alertBannerMessage.indexOf("Alert Received") != -1);
|
bool needs_bell = (alertBannerMessage.indexOf("Alert Received") != -1);
|
||||||
|
|
||||||
// Setup font and alignment
|
// Setup font and alignment
|
||||||
|
Loading…
Reference in New Issue
Block a user