mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-23 05:17:02 -04:00
Fix DoNotLeak
This commit is contained in:
parent
ec7cd035d8
commit
6d90d75642
2 changed files with 7 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue