fix: web native stub

This commit is contained in:
Lewis Crichton 2023-12-28 02:44:40 +00:00
parent 0413a2399a
commit 85bd99c2ca
No known key found for this signature in database

View file

@ -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 () => ({}),