Skip to content

Commit

Permalink
change update trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-charriere committed Sep 25, 2024
1 parent e4002e9 commit 3b483c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/app/gen/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function goappSetupNotifyUpdate(registration) {
const newSW = registration.installing;
newSW.addEventListener("statechange", (event) => {
switch (newSW.state) {
case "activated":
case "installed":
goappOnUpdate();
}
});
Expand Down
Loading

0 comments on commit 3b483c5

Please sign in to comment.