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

Skip update prompts in invalid situations #917

Merged
merged 1 commit into from
Jun 8, 2024

Conversation

wooferzfg
Copy link
Member

When it's the first install of the service worker, or when the user clears the site data, the controllerchange event gets triggered. However, in these situations, we want to avoid prompting the user about an update.

Resolves #913

When it's the first install of the service worker, or when the user clears the site data, the controllerchange event gets triggered. However, in these situations, we want to avoid prompting the user about an update.
@wooferzfg wooferzfg requested a review from CryZe June 8, 2024 01:06
@CryZe CryZe merged commit f845c60 into LiveSplit:master Jun 8, 2024
1 check passed
@CryZe CryZe added bug There's a bug in LiveSplit One. enhancement A new feature or general improvement to LiveSplit One. labels Jun 8, 2024
@CryZe
Copy link
Collaborator

CryZe commented Jun 8, 2024

Thanks :)

@wooferzfg wooferzfg deleted the service-worker-fix branch June 8, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug There's a bug in LiveSplit One. enhancement A new feature or general improvement to LiveSplit One.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Initial install of service worker triggers "update found" message
2 participants