fix sunnypilot device callback position in scroller

This commit is contained in:
infiniteCable2
2026-04-19 15:24:22 +02:00
parent f4af3aa1e2
commit 2c4400a809
@@ -23,7 +23,7 @@ class SettingsLayoutSP(OP.SettingsLayout):
OP.SettingsLayout.__init__(self)
device_panel = DeviceLayoutMici()
self._scroller._items[2].set_click_callback(lambda: gui_app.push_widget(device_panel))
self._scroller._items[3].set_click_callback(lambda: gui_app.push_widget(device_panel))
self.icon_offroad_enable = gui_app.texture("../../sunnypilot/selfdrive/assets/icons_mici/always_offroad.png", BIG_ICON_SIZE,
BIG_ICON_SIZE)