fix black bg of those bitmap when we have themes enabled (#2239)

This commit is contained in:
zxkmm 2024-09-07 23:39:50 +08:00 committed by GitHub
parent 87069f11e5
commit 31c844b48e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

View File

@ -1072,7 +1072,7 @@ ModalMessageView::ModalMessageView(
} }
void ModalMessageView::paint(Painter& painter) { void ModalMessageView::paint(Painter& painter) {
if (!compact) portapack::display.drawBMP({100, 48}, modal_warning_bmp, false); if (!compact) portapack::display.drawBMP({100, 48}, modal_warning_bmp, true);
// Break lines. // Break lines.
auto lines = split_string(message_, '\n'); auto lines = split_string(message_, '\n');

BIN
firmware/tools/decoded.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 B