feat: Add locales with OGG sounds

This commit is contained in:
Terrence
2025-08-09 07:57:52 +08:00
parent 48a1c5da29
commit 7fcd40dbe7
459 changed files with 1385 additions and 77 deletions

View File

@@ -158,7 +158,7 @@ void Display::UpdateStatusBar(bool update_all) {
if (strcmp(icon, FONT_AWESOME_BATTERY_EMPTY) == 0 && discharging) {
if (lv_obj_has_flag(low_battery_popup_, LV_OBJ_FLAG_HIDDEN)) { // 如果低电量提示框隐藏,则显示
lv_obj_clear_flag(low_battery_popup_, LV_OBJ_FLAG_HIDDEN);
app.PlaySound(Lang::Sounds::P3_LOW_BATTERY);
app.PlaySound(Lang::Sounds::OGG_LOW_BATTERY);
}
} else {
// Hide the low battery popup when the battery is not empty