fix ts errors

This commit is contained in:
Xyntho 2025-02-18 13:34:37 -05:00
parent 7c90dac838
commit 2731d29ceb

View file

@ -106,7 +106,8 @@ window.VencordNative = {
}
},
set: async (s: Settings) => localStorage.setItem("VencordSettings", JSON.stringify(s)),
getSettingsDir: async () => "LocalStorage"
getSettingsDir: async () => "LocalStorage",
setBackgroundMaterial: async (bm: Settings["winBackgroundMaterial"]) => localStorage.setItem("winBackgroundMaterial", bm ?? "none")
},
pluginHelpers: {} as any,