fine tune the invert logic (#2243)

This commit is contained in:
zxkmm 2024-09-08 23:38:40 +08:00 committed by GitHub
parent 1f78646054
commit 281e52d143
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ void SystemStatusView::refresh() {
// Display "Disable speaker" icon only if AK4951 Codec which has separate speaker/headphone control // 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 (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()) { if (battery::BatteryManagement::isDetected()) {
batt_was_inited = true; batt_was_inited = true;
uint8_t percent = battery::BatteryManagement::getPercent(); uint8_t percent = battery::BatteryManagement::getPercent();

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 B