mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-23 13:34:46 +00:00
Fix for emote and mute icon
This commit is contained in:
parent
fe25e5efd5
commit
efb3f85cd0
@ -1320,7 +1320,7 @@ void drawTextMessageFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16
|
||||
{"\U0001F496", heart, heart_width, heart_height},
|
||||
{"\U0001F497", heart, heart_width, heart_height},
|
||||
{"\U0001F498", heart, heart_width, heart_height},
|
||||
{"\U0001F514", bell_alert, bell_alert_width, bell_alert_height}};
|
||||
{"\U0001F514", bell_icon, bell_icon_width, bell_icon_height}};
|
||||
|
||||
for (const Emote &e : emotes) {
|
||||
if (strcmp(msg, e.code) == 0) {
|
||||
|
@ -218,7 +218,7 @@ void drawCommonHeader(OLEDDisplay *display, int16_t x, int16_t y)
|
||||
} else if (isMuted) {
|
||||
int iconX = iconRightEdge - mute_symbol_width;
|
||||
int iconY = textY + (FONT_HEIGHT_SMALL - mail_height) / 2;
|
||||
display->drawXbm(iconX, iconY, mute_symbol_width, bell_alert_height, bell_alert);
|
||||
display->drawXbm(iconX, iconY, mute_symbol_width, bell_alert_height, mute_symbol);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user