kopia lustrzana https://github.com/elk-zone/elk
chore: remove periodic sync for updates on Tauri
rodzic
b85c1bacc2
commit
c189f951ff
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue