From 31c844b48e0c793a40b27696e9a53f08e49e51fb Mon Sep 17 00:00:00 2001 From: zxkmm <24917424+zxkmm@users.noreply.github.com> Date: Sat, 7 Sep 2024 23:39:50 +0800 Subject: [PATCH] fix black bg of those bitmap when we have themes enabled (#2239) --- firmware/application/ui_navigation.cpp | 2 +- firmware/tools/decoded.png | Bin 0 -> 108 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 firmware/tools/decoded.png diff --git a/firmware/application/ui_navigation.cpp b/firmware/application/ui_navigation.cpp index b83da7eba..4dc29d538 100644 --- a/firmware/application/ui_navigation.cpp +++ b/firmware/application/ui_navigation.cpp @@ -1072,7 +1072,7 @@ ModalMessageView::ModalMessageView( } 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. auto lines = split_string(message_, '\n'); diff --git a/firmware/tools/decoded.png b/firmware/tools/decoded.png new file mode 100644 index 0000000000000000000000000000000000000000..453fd42fabc8fdff1432f8d8e68f5f0b978519f6 GIT binary patch literal 108 zcmeAS@N?(olHy`uVBq!ia0vp^0wBx*Bp9q_EZ7UAj6Gc(Ln`JhJ!i6X)&dG%TIoZL*j2wd|bK*WQ?b)pUXO@ GgeCxVKqZ&} literal 0 HcmV?d00001