From 281e52d143d8d1f0b7fa44815bc94584e7f54a0c Mon Sep 17 00:00:00 2001 From: zxkmm <24917424+zxkmm@users.noreply.github.com> Date: Sun, 8 Sep 2024 23:38:40 +0800 Subject: [PATCH] fine tune the invert logic (#2243) --- firmware/application/ui_navigation.cpp | 2 +- firmware/tools/color_bitmap_decode.py | 0 firmware/tools/decoded_modal_warning.png | Bin 0 -> 85 bytes 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 firmware/tools/color_bitmap_decode.py create mode 100644 firmware/tools/decoded_modal_warning.png diff --git a/firmware/application/ui_navigation.cpp b/firmware/application/ui_navigation.cpp index 964f1208..5eaba200 100644 --- a/firmware/application/ui_navigation.cpp +++ b/firmware/application/ui_navigation.cpp @@ -413,7 +413,7 @@ void SystemStatusView::refresh() { // Display "Disable speaker" icon only if AK4951 Codec which has separate speaker/headphone control if (audio::speaker_disable_supported() && !pmem::ui_hide_speaker()) status_icons.add(&toggle_speaker); - if (!pmem::ui_hide_fake_brightness()) status_icons.add(&button_fake_brightness); + if (!pmem::ui_hide_fake_brightness() && !pmem::config_lcd_inverted_mode()) status_icons.add(&button_fake_brightness); if (battery::BatteryManagement::isDetected()) { batt_was_inited = true; uint8_t percent = battery::BatteryManagement::getPercent(); diff --git a/firmware/tools/color_bitmap_decode.py b/firmware/tools/color_bitmap_decode.py new file mode 100644 index 00000000..e69de29b diff --git a/firmware/tools/decoded_modal_warning.png b/firmware/tools/decoded_modal_warning.png new file mode 100644 index 0000000000000000000000000000000000000000..12e39a0741e03c3bd40220d2c0fb3b6eb8ea8401 GIT binary patch literal 85 zcmeAS@N?(olHy`uVBq!ia0vp^8X(NU1SFZ~=vx6P8BZ6-kcv5P4>Ixsd50E!_s``s eUjSq>Jh;yw^n!u0X7fdL5ZBYy&t;ucLK6VRnG_oU literal 0 HcmV?d00001