diff options
author | Vendicated <vendicated@riseup.net> | 2022-11-15 09:28:06 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-11-15 09:28:06 +0100 |
commit | 2ca98a87d298586df331fda2fedfade5375c0cac (patch) | |
tree | 444eb5f57eecf4f61ef93738e61d4c59df0cd37a | |
parent | b49ac6b541b91e61b85b188b42ceeba3a39f687a (diff) | |
download | Vencord-2ca98a87d298586df331fda2fedfade5375c0cac.tar.gz Vencord-2ca98a87d298586df331fda2fedfade5375c0cac.tar.bz2 Vencord-2ca98a87d298586df331fda2fedfade5375c0cac.zip |
Fix Settings UI on canary
-rw-r--r-- | src/webpack/common.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/webpack/common.tsx b/src/webpack/common.tsx index 1dbc836..f929350 100644 --- a/src/webpack/common.tsx +++ b/src/webpack/common.tsx @@ -142,14 +142,14 @@ waitFor(filters.byCode("helpdeskArticleId"), m => Switch = m); waitFor(["Positions", "Colors"], m => Tooltip = m); waitFor(m => m.Types?.PRIMARY === "cardPrimary", m => Card = m); -waitFor(m => m.Tags && filters.byCode("errorSeparator")(m), m => Forms.FormTitle = m); -waitFor(m => m.Tags && filters.byCode("titleClassName", "sectionTitle")(m), m => Forms.FormSection = m); +waitFor(m => filters.byCode("errorSeparator")(m), m => Forms.FormTitle = m); +waitFor(m => filters.byCode("titleClassName", "sectionTitle")(m), m => Forms.FormSection = m); waitFor(m => m.Types?.INPUT_PLACEHOLDER, m => Forms.FormText = m); waitFor(m => { if (typeof m !== "function") return false; const s = m.toString(); - return s.length < 200 && s.includes("divider"); + return s.length < 200 && s.includes("().divider"); }, m => Forms.FormDivider = m); // This is the same module but this is easier |