Fix Settings UI on canary

This commit is contained in:
Vendicated 2022-11-15 09:28:06 +01:00
parent b49ac6b541
commit 2ca98a87d2
No known key found for this signature in database
GPG Key ID: EC781ADFB93EFFA3

@ -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