Gate behind flag

This commit is contained in:
Jason Wen
2024-04-12 00:11:30 -04:00
parent 7ea3136d4f
commit 531a75134f
@@ -13,14 +13,15 @@ DisplayPanel::DisplayPanel(QWidget *parent) : ListWidget(parent, false) {
.arg(tr("Enabled: Wake the brightness of the screen to display all events."))
.arg(tr("Disabled: Wake the brightness of the screen to display critical events.")),
"../assets/offroad/icon_blank.png",
#ifdef ENABLE_DASHCAM
},
// Disabling due to https://discord.com/channels/880416502577266699/1223238728852574269
//{
// "ScreenRecorder",
// tr("Enable Screen Recorder"),
// tr("Enable this will display a button on the onroad screen to toggle on or off real-time screen recording with UI elements."),
// "../assets/offroad/icon_blank.png"
//}
{
"ScreenRecorder",
tr("Enable Screen Recorder"),
tr("Enable this will display a button on the onroad screen to toggle on or off real-time screen recording with UI elements."),
"../assets/offroad/icon_blank.png"
#endif
}
};
// General: Max Time Offroad (Shutdown timer)