Fix DoNotLeak

This commit is contained in:
thororen1234 2024-07-02 10:16:31 -04:00
parent ec7cd035d8
commit 6d90d75642
2 changed files with 7 additions and 11 deletions

View file

@ -92,8 +92,8 @@ filter: blur(0px) brightness(1) !important;
]
*/
export function getStyle(): [string, object] {
const messageContent = findByProps("messageEditorCompact"); // ["messageContent","wrapper"]
export function getStyle(): string {
const messageContent = findByProps("messageContent", "titleCase"); // ["messageContent","wrapper"]
const embedWrapper = findByProps("embedWrapper");
const mediaContainer = findByProps("visualMediaItemContainer");
const notice = findByProps("colorStreamerMode", "notice");
@ -112,5 +112,5 @@ export function getStyle(): [string, object] {
for (const className in Classes) {
CssCode = CssCode.replaceAll(`{${className}}`, Classes[className]);
}
return [CssCode, Classes];
return CssCode;
}