diff --git a/src/Applications/UI/Other/State.elm b/src/Applications/UI/Other/State.elm index 8b5065ab6..fbe180cd5 100644 --- a/src/Applications/UI/Other/State.elm +++ b/src/Applications/UI/Other/State.elm @@ -18,7 +18,12 @@ import User.Layer exposing (..) installedServiceWorker : Manager installedServiceWorker model = - Return.singleton { model | serviceWorkerStatus = WaitingForActivation } + case model.serviceWorkerStatus of + InstallingNew -> + Return.singleton { model | serviceWorkerStatus = WaitingForActivation } + + _ -> + Return.singleton { model | serviceWorkerStatus = Activated } installingServiceWorker : Manager