chore: remove periodic sync for updates on Tauri

This commit is contained in:
userquin 2023-01-20 17:35:36 +01:00
parent b85c1bacc2
commit c189f951ff

View file

@ -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