Skip to content

Commit ea9330d

Browse files
greatgitsbyclaude
andcommitted
esim: hide delete button while busy switching profiles
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 721b4b9 commit ea9330d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • selfdrive/ui/mici/layouts/settings/network

selfdrive/ui/mici/layouts/settings/network/esim_ui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def update_profile(self, profile: Profile):
191191

192192
@property
193193
def _show_delete_btn(self) -> bool:
194-
if self._deleting or self._profile.enabled:
194+
if self._deleting or self._profile.enabled or self._cellular_manager.busy:
195195
return False
196196
return not self._cellular_manager.is_comma_profile(self._profile.iccid)
197197

0 commit comments

Comments
 (0)