mirror of
https://jihulab.com/mr-one/openpilot.git
synced 2026-10-26 20:43:49 +08:00
ui: clarify branch switcher error message (#38732)
(cherry picked from commit 9fa7ef3d1722020ea83868c10182812d2650a336)
This commit is contained in:
@@ -253,7 +253,7 @@ class TargetBranchButton(BigButton):
|
||||
|
||||
def _on_click(self):
|
||||
if not ui_state.params.get("UpdaterAvailableBranches"):
|
||||
gui_app.push_widget(BigDialog("", tr("Please connect to Wi-Fi to switch branches.")))
|
||||
gui_app.push_widget(BigDialog("", tr("Failed to get available branches. Ensure you're connected to the internet and try again.")))
|
||||
return
|
||||
gui_app.push_widget(BranchSelectPage(self._on_select))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user