From 2b7b31107545d61c1a8ea83b031663b07433be5e Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Wed, 25 Nov 2026 13:09:16 -0500 Subject: [PATCH] [MICI] ui: show the comma name under connect phone --- openpilot/selfdrive/ui/sunnypilot/mici/layouts/bluetooth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openpilot/selfdrive/ui/sunnypilot/mici/layouts/bluetooth.py b/openpilot/selfdrive/ui/sunnypilot/mici/layouts/bluetooth.py index 4ee398904c..1ad4ee0369 100644 --- a/openpilot/selfdrive/ui/sunnypilot/mici/layouts/bluetooth.py +++ b/openpilot/selfdrive/ui/sunnypilot/mici/layouts/bluetooth.py @@ -11,7 +11,7 @@ from openpilot.selfdrive.ui.mici.widgets.dialog import BigConfirmationDialog from openpilot.selfdrive.ui.sunnypilot.mici.layouts.connect_phone import start_connect_phone from openpilot.selfdrive.ui.ui_state import ui_state from openpilot.sunnypilot.system.ble import grants -from openpilot.sunnypilot.system.connect_phone import write_request +from openpilot.sunnypilot.system.connect_phone import display_name, write_request from openpilot.system.ui.lib.application import gui_app from openpilot.system.ui.lib.multilang import tr from openpilot.system.ui.widgets.scroller import NavScroller @@ -34,7 +34,7 @@ class BluetoothLayoutMici(NavScroller): self._bluetooth_toggle = BigParamControl(tr("bluetooth"), "BluetoothAllowed", toggle_callback=bluetooth_callback) - self._connect_phone_btn = BigButton(tr("connect phone"), "") + self._connect_phone_btn = BigButton(tr("connect phone"), display_name(ui_state.params)) self._connect_phone_btn.set_click_callback(start_connect_phone) self._connect_phone_btn.set_enabled(lambda: self._bluetooth_on)