change toast message
This commit is contained in:
parent
622b162924
commit
f81bb51936
|
@ -5,7 +5,7 @@ function onUpdateFound (registration) {
|
||||||
|
|
||||||
newWorker.addEventListener('statechange', async () => {
|
newWorker.addEventListener('statechange', async () => {
|
||||||
if (newWorker.state === 'installed' && navigator.serviceWorker.controller) {
|
if (newWorker.state === 'installed' && navigator.serviceWorker.controller) {
|
||||||
toast.say('Update available. Refresh to update.')
|
toast.say('App update available. Reload to update.')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue