This commit is contained in:
Your Name
2024-05-02 20:16:33 -05:00
parent 132171d23b
commit 1b13eaf1eb
4 changed files with 35 additions and 65 deletions

View File

@@ -138,9 +138,10 @@ FrogPilotVisualsPanel::FrogPilotVisualsPanel(SettingsWindow *parent) : FrogPilot
modifiedCustomOnroadUIKeys.erase("DeveloperUI");
}
if (!hasOpenpilotLongitudinal || !isRelease) {
modifiedCustomOnroadUIKeys.erase("LeadInfo");
}
// Clearpilot allow leadInfo (test me)
// if (!hasOpenpilotLongitudinal || !isRelease) {
// modifiedCustomOnroadUIKeys.erase("LeadInfo");
// }
toggle->setVisible(modifiedCustomOnroadUIKeys.find(key.c_str()) != modifiedCustomOnroadUIKeys.end());
}