From 087a7c64343cff85498e263e4d349e2335b87b82 Mon Sep 17 00:00:00 2001 From: tusooa Date: Fri, 24 May 2024 21:25:04 -0400 Subject: [PATCH] Fix storage in service worker --- src/sw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sw.js b/src/sw.js index f028936d..4a36672c 100644 --- a/src/sw.js +++ b/src/sw.js @@ -25,7 +25,7 @@ function getWindowClients () { } const setSettings = async () => { - const vuexState = await localForage.getItem('vuex-lz') + const vuexState = await storage.getItem('vuex-lz') const locale = vuexState.config.interfaceLanguage || 'en' i18n.locale = locale const notificationsNativeArray = Object.entries(vuexState.config.notificationNative)