diff --git a/browser/VencordNativeStub.ts b/browser/VencordNativeStub.ts index 79f0f2cd3..1ca801bf4 100644 --- a/browser/VencordNativeStub.ts +++ b/browser/VencordNativeStub.ts @@ -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,