From 2cdd8b0551abcf6b21787d86b106e23cead0e0b1 Mon Sep 17 00:00:00 2001 From: infiniteCable2 Date: Tue, 21 Jul 2026 18:37:58 +0200 Subject: [PATCH] hide force update after update --- openpilot/selfdrive/ui/mici/layouts/settings/software.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openpilot/selfdrive/ui/mici/layouts/settings/software.py b/openpilot/selfdrive/ui/mici/layouts/settings/software.py index 77fffc404..824fcc526 100644 --- a/openpilot/selfdrive/ui/mici/layouts/settings/software.py +++ b/openpilot/selfdrive/ui/mici/layouts/settings/software.py @@ -293,6 +293,9 @@ class ForceDownloadButton(BigButton): self.set_enabled(False) return + # Hide force download when an update is already downloaded and ready to install + self.set_visible(not ui_state.params.get_bool("UpdateAvailable")) + updater_state = ui_state.params.get("UpdaterState") or "" if self._state == UpdaterState.WAITING_FOR_UPDATER: