hide force update after update

This commit is contained in:
infiniteCable2
2026-07-21 18:37:58 +02:00
parent 9d0c205a44
commit 2cdd8b0551
@@ -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: