mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-31 03:33:36 -05:00
StatusPresets Fix
This commit is contained in:
parent
8f994543ed
commit
c56f700fba
1 changed files with 3 additions and 2 deletions
|
@ -138,11 +138,12 @@ export default definePlugin({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
find: /"aria-label":.{0,1}\.\i\.string\(\i\.\i#{intl::STATUS_MENU_LABEL}/,
|
find: "#{intl::STATUS_MENU_LABEL}",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /!\i&&(.{0,15}\i\.Fragment.{0,55}null==(\i).{0,200}customEmojiPlaceholder\}\),onClick:([^}]+}))/,
|
match: /!\i&&(.{0,15}\i\.Fragment.{0,55}null==(\i).{0,200}customEmojiPlaceholder\}\),onClick:([^}]+}))/,
|
||||||
replace: "$self.render($2, $3),false&&$1"
|
replace: "$self.render($2, $3),false&&$1"
|
||||||
}
|
},
|
||||||
|
all: true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
render(status: null | { emoji: Emoji | null; }, openCustomStatusModal: () => void) {
|
render(status: null | { emoji: Emoji | null; }, openCustomStatusModal: () => void) {
|
||||||
|
|
Loading…
Reference in a new issue