mici: fix update failed alert layout (#39348)

This commit is contained in:
Adeeb Shihadeh
2026-11-28 11:02:32 -06:00
committed by firestar5683
parent c80c42ebb2
commit 73b577237e
2 changed files with 2 additions and 2 deletions
@@ -13,7 +13,7 @@
"severity": 1
},
"Offroad_UpdateFailed": {
"text": "Unable to download updates\n%1",
"text": "Unable to download updates.\n%1",
"severity": 1,
"_comment": "Set extra field to the failed reason."
},
@@ -109,7 +109,7 @@ class AlertItem(Widget):
return title, body
else:
# No sentence boundary found, return full text as title
return "", text
return text.strip(), ""
def _update_content(self):
"""Update text and calculate height."""