fix window controls

This commit is contained in:
Vendicated
2026-01-24 02:25:37 +01:00
parent 786c3cc196
commit 5befd967ba
9 changed files with 48 additions and 40 deletions
+1 -4
View File
@@ -5,8 +5,7 @@
*/
import { addContextMenuPatch } from "@vencord/types/api/ContextMenu";
import { findStoreLazy } from "@vencord/types/webpack";
import { FluxDispatcher, Menu, useMemo, useStateFromStores } from "@vencord/types/webpack/common";
import { FluxDispatcher, Menu, SpellCheckStore, useMemo, useStateFromStores } from "@vencord/types/webpack/common";
import { useSettings } from "renderer/settings";
import { addPatch } from "./shared";
@@ -14,8 +13,6 @@ import { addPatch } from "./shared";
let word: string;
let corrections: string[];
const SpellCheckStore = findStoreLazy("SpellcheckStore");
// Make spellcheck suggestions work
addPatch({
patches: [