Revert Some Changes

This commit is contained in:
thororen1234 2025-06-16 16:17:52 -04:00
parent e49f3de2aa
commit 8799a2e08c
No known key found for this signature in database
6 changed files with 22 additions and 16 deletions

View file

@ -41,6 +41,7 @@ window.VencordNative = {
themes: {
uploadTheme: (fileName: string, fileData: string) => DataStore.set(fileName, fileData, themeStore),
deleteTheme: (fileName: string) => DataStore.del(fileName, themeStore),
getThemesDir: async () => "",
getThemesList: () => DataStore.entries(themeStore).then(entries =>
entries.map(([name, css]) => ({ fileName: name as string, content: css }))
),
@ -111,6 +112,7 @@ window.VencordNative = {
}
},
set: async (s: Settings) => localStorage.setItem("EquicordSettings", JSON.stringify(s)),
getSettingsDir: async () => "LocalStorage",
openFolder: async () => Promise.reject("settings:openFolder is not supported on web"),
},