setup: copy changes

from https://github.com/commaai/openpilot/pull/37611
This commit is contained in:
Shane Smiskol
2026-03-09 14:11:01 -07:00
parent 56d1961625
commit d6c85abcd3
+5 -5
View File
@@ -144,7 +144,7 @@ class SoftwareSelectionPage(NavWidget):
self._openpilot_slider = LargerSlider("slide to install\nopenpilot", use_openpilot_callback)
self._openpilot_slider.set_enabled(lambda: self.enabled and not self.is_dismissing)
self._custom_software_slider = LargerSlider("slide to install\nother software", use_custom_software_callback, green=False)
self._custom_software_slider = LargerSlider("slide to install\ncustom software", use_custom_software_callback, green=False)
self._custom_software_slider.set_enabled(lambda: self.enabled and not self.is_dismissing)
def show_event(self):
@@ -190,11 +190,11 @@ class CustomSoftwareWarningPage(NavScroller):
self._continue_button.set_click_callback(continue_callback)
self._scroller.add_widgets([
GreyBigButton("use caution", "when installing\n3rd party software",
GreyBigButton("caution: installing\n3rd party software", "swipe down to go back",
gui_app.texture("icons_mici/setup/warning.png", 64, 58)),
GreyBigButton("", "• It has not been tested by comma"),
GreyBigButton("", "• It may not comply with relevant safety standards."),
GreyBigButton("", "• It may cause damage to your device and/or vehicle."),
GreyBigButton("", "• It has not been tested by comma."),
GreyBigButton("", "• It may not comply with safety standards."),
GreyBigButton("", "• It may damage your device and/or vehicle."),
GreyBigButton("how to restore to a\nfactory state later", "https://flash.comma.ai",
gui_app.texture("icons_mici/setup/restore.png", 64, 64)),
self._continue_button,