1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 18:06:22 +00:00

minor changes

This commit is contained in:
programminglaboratorys 2024-09-30 04:35:56 +03:00
parent 9f25f34780
commit 1571cd17dd

View file

@ -133,12 +133,12 @@ export default definePlugin({
{ {
find: ".Messages.STATUS_MENU_LABEL", find: ".Messages.STATUS_MENU_LABEL",
replacement: { replacement: {
match: /!\i&&(.{0,15}\i\.Fragment.+null==(\i).+customEmojiPlaceholder\}\),onClick:([^}]+))/, match: /!\i&&(.{0,15}\i\.Fragment.+null==(\i).+customEmojiPlaceholder\}\),onClick:([^}]+}))/,
replace: "$self.render($2, $3}),false&&$1" replace: "$self.render($2, $3),false&&$1"
} }
} }
], ],
render(status, openCustomStatusModal: () => void) { render(status: null | { emoji: Emoji | null; }, openCustomStatusModal: () => void) {
if (!customStatusSettings) return; if (!customStatusSettings) return;
return <ErrorBoundary> return <ErrorBoundary>
<div className={StatusStyles.menuDivider} /> <div className={StatusStyles.menuDivider} />