mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-26 08:22:05 +08:00
Merge branch 'min-feat/dev/alert-mode' into pre
This commit is contained in:
@@ -355,7 +355,10 @@ void DPPanel::add_device_toggles() {
|
||||
addItem(toggle);
|
||||
toggles[param.toStdString()] = toggle;
|
||||
}
|
||||
addItem(audible_alert_mode_setting);
|
||||
if !(getenv("DISABLE_DRIVER")) { // lite check
|
||||
addItem(audible_alert_mode_setting);
|
||||
has_toggle = true;
|
||||
}
|
||||
|
||||
// If no toggles were added, hide the label
|
||||
if (!has_toggle && label) {
|
||||
|
||||
Reference in New Issue
Block a user