Skip to content

fix: dynamically read version from manifest in About modal - #5

Merged
awjcreation merged 1 commit into
mainfrom
copilot/sprawdz-zmiany-z-galezi
Jun 21, 2026
Merged

fix: dynamically read version from manifest in About modal#5
awjcreation merged 1 commit into
mainfrom
copilot/sprawdz-zmiany-z-galezi

Conversation

Copilot AI commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

The About modal had 1.2 hardcoded, diverging from the splash screen which already fetches version from manifest.webmanifest.

Changes

  • Added module-level appVersion variable (fallback '1.2') to share version across functions
  • loadManifestVersion() now writes fetched version to appVersion before updating versionEl
  • openAppModal() interpolates appVersion instead of the literal string
// Before
: '<h2>EasyTune</h2><p>... Wersja PWA offline 1.2.</p>';

// After
: `<h2>EasyTune</h2><p>... Wersja PWA offline ${appVersion}.</p>`;

Copilot AI changed the title fix: dynamicznie wczytuj wersję w oknie "Informacje o aplikacji" fix: dynamically read version from manifest in About modal Jun 21, 2026
Copilot AI requested a review from awjcreation June 21, 2026 07:25
@awjcreation
awjcreation marked this pull request as ready for review June 21, 2026 07:27
@awjcreation
awjcreation merged commit 9cbc646 into main Jun 21, 2026
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.

2 participants