Skip to content

fix(settings): download updates in-app with progress instead of opening website#458

Merged
kdroidFilter merged 1 commit into
masterfrom
fix/settings-update-inapp-download
Jun 7, 2026
Merged

fix(settings): download updates in-app with progress instead of opening website#458
kdroidFilter merged 1 commit into
masterfrom
fix/settings-update-inapp-download

Conversation

@kdroidFilter
Copy link
Copy Markdown
Owner

Summary

  • The General Settings update banner now downloads and installs updates in-app, matching the existing UpdateDialog flow, instead of opening the download website in a browser.
  • Available → "Download now" triggers AppUpdateService.startDownload().
  • Downloading → shows percentage + an AnimatedHorizontalProgressBar.
  • ReadyToInstall → "Install and restart" triggers AppUpdateService.installAndRestart().
  • The service is wired via LocalAppGraph and passed down as callbacks; @Preview keeps no-op defaults.
  • Removed the now-unused browser fallback (UrlOpener.open(DOWNLOAD_URL)) for updates.

Test plan

  • Settings shows "Download now" when an update is available
  • Clicking it downloads in-app and shows a live progress bar
  • Once downloaded, the banner offers "Install and restart" and relaunches correctly
  • "Up to date" / "check failed" / "checking" states still render as before

@kdroidFilter kdroidFilter merged commit 658e6e3 into master Jun 7, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant