From 2731d29ceb5f54f163040062da525382477adb51 Mon Sep 17 00:00:00 2001 From: Xyntho Date: Tue, 18 Feb 2025 13:34:37 -0500 Subject: [PATCH] fix ts errors --- browser/VencordNativeStub.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,