commit: 087a7c64343cff85498e263e4d349e2335b87b82
parent 89346369e05cef4ba23637c162d8fe2046b85eb4
Author: tusooa <tusooa@kazv.moe>
Date: Fri, 24 May 2024 21:25:04 -0400
Fix storage in service worker
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)