From 85bd99c2ca792e099b4f6af19d7de17b4e24dbc6 Mon Sep 17 00:00:00 2001 From: Lewis Crichton Date: Thu, 28 Dec 2023 02:44:40 +0000 Subject: [PATCH] fix: web native stub --- browser/VencordNativeStub.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/VencordNativeStub.ts b/browser/VencordNativeStub.ts index 6c1a957c5..0128372b1 100644 --- a/browser/VencordNativeStub.ts +++ b/browser/VencordNativeStub.ts @@ -46,7 +46,7 @@ window.VencordNative = { deleteTheme: (fileName: string) => DataStore.del(fileName, themeStore), getThemesDir: async () => "", getThemesList: () => DataStore.entries(themeStore).then(entries => - entries.map(([name, css]) => getThemeInfo(css, name.toString())) + entries.map(([name, css]) => ({ fileName: name as string, content: css })) ), getThemeData: (fileName: string) => DataStore.get(fileName, themeStore), getSystemValues: async () => ({}),