From a2b58fbb95576f24144858dd40dc04ec516db5cd Mon Sep 17 00:00:00 2001 From: infiniteCable <75014343+infiniteCable@users.noreply.github.com> Date: Sun, 6 Apr 2025 14:57:54 +0200 Subject: [PATCH] Update settings.cc --- selfdrive/ui/qt/offroad/settings.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/selfdrive/ui/qt/offroad/settings.cc b/selfdrive/ui/qt/offroad/settings.cc index f0332dbe3..da8986965 100644 --- a/selfdrive/ui/qt/offroad/settings.cc +++ b/selfdrive/ui/qt/offroad/settings.cc @@ -43,6 +43,18 @@ TogglesPanel::TogglesPanel(SettingsWindow *parent) : ListWidget(parent) { tr("When enabled, pressing the accelerator pedal will disengage sunnypilot."), "../assets/offroad/icon_disengage_on_accelerator.svg", }, + { + "DarkMode", + tr("Dark Mode"), + tr("Force brightness to a minimal value."), + "../assets/offroad/icon_disengage_on_accelerator.svg", + }, + { + "DisableScreenTimer", + tr("Turn onroad screen off after 10 seconds"), + tr("the onroad screen is turned of after 10 seconds. It will be temporarily enabled on alerts."), + "../assets/offroad/icon_disengage_on_accelerator.svg", + }, { "IsLdwEnabled", tr("Enable Lane Departure Warnings"),