Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor code to check if service worker is enabled #175

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

Spomky
Copy link
Member

@Spomky Spomky commented Apr 18, 2024

This commit removes all properties that check if a service worker is enabled in favor of checking this directly on the service worker object itself. It affects multiple files and results in a cleaner, more object-oriented approach to determining if the service worker is enabled.

Target branch:
Resolves issue #

  • It is a Bug fix
  • It is a New feature
  • Breaks BC
  • Includes Deprecations

@Spomky Spomky added the enhancement New feature or request label Apr 18, 2024
@Spomky Spomky added this to the 1.2.0 milestone Apr 18, 2024
@Spomky Spomky self-assigned this Apr 18, 2024
…stance

Removed the autowired enabled properties from Manifest and ServiceWorker services. We now directly use the enabled property from the Manifest and ServiceWorker instances. This simplifies the code and allows for better encapsulation and code readability.
@Spomky Spomky merged commit 82ce386 into 1.2.x Apr 22, 2024
7 checks passed
@Spomky Spomky deleted the features/better-manifest branch April 22, 2024 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant