remove redundant methods

This commit is contained in:
Vendicated 2025-06-14 18:55:12 +02:00
parent 78d3330ccf
commit 3a1e17e04d
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
6 changed files with 14 additions and 20 deletions

View file

@ -42,7 +42,6 @@ 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]) => getThemeInfo(css, name.toString()))
),
@ -113,7 +112,6 @@ window.VencordNative = {
}
},
set: async (s: Settings) => localStorage.setItem("VencordSettings", JSON.stringify(s)),
getSettingsDir: async () => "LocalStorage",
openFolder: async () => Promise.reject("settings:openFolder is not supported on web"),
},