aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-11-15 09:28:06 +0100
committerVendicated <vendicated@riseup.net>2022-11-15 09:28:06 +0100
commit2ca98a87d298586df331fda2fedfade5375c0cac (patch)
tree444eb5f57eecf4f61ef93738e61d4c59df0cd37a
parentb49ac6b541b91e61b85b188b42ceeba3a39f687a (diff)
downloadVencord-2ca98a87d298586df331fda2fedfade5375c0cac.tar.gz
Vencord-2ca98a87d298586df331fda2fedfade5375c0cac.tar.bz2
Vencord-2ca98a87d298586df331fda2fedfade5375c0cac.zip
Fix Settings UI on canary
-rw-r--r--src/webpack/common.tsx6
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