forked from Mirrors/elk
chore: remove periodic sync for updates on Tauri
This commit is contained in:
parent
b85c1bacc2
commit
c189f951ff
1 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,9 @@ export default defineNuxtPlugin(() => {
|
|||
registrationError.value = true
|
||||
},
|
||||
onRegisteredSW(swUrl, r) {
|
||||
if (useRuntimeConfig().public.tauriPlatform)
|
||||
return
|
||||
|
||||
// should add support in pwa plugin
|
||||
if (r?.active?.state === 'activated') {
|
||||
swActivated.value = true
|
||||
|
|
Loading…
Reference in a new issue