mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-09 06:33:03 -04:00
feat(Anammox): Update
* Patches Fix * Update Annamox --------- Co-authored-by: thororen <78185467+thororen1234@users.noreply.github.com>
This commit is contained in:
parent
6de6ad49ed
commit
a6dd7fb963
1 changed files with 4 additions and 4 deletions
|
@ -73,7 +73,7 @@ export default definePlugin({
|
||||||
{ // Settings, sidebar
|
{ // Settings, sidebar
|
||||||
find: "Messages.BILLING_SETTINGS",
|
find: "Messages.BILLING_SETTINGS",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /\{section:\i\.SectionTypes\.HEADER,label:\i\.default\.Messages\.BILLING_SETTINGS\},.*?\{section:\i\.SectionTypes\.DIVIDER\},/,
|
match: /\{header:[^:,]*\.Messages.BILLING_SETTINGS,[^}]*\]},/,
|
||||||
replace: "/*$&*/"
|
replace: "/*$&*/"
|
||||||
},
|
},
|
||||||
predicate: () => settings.store.billing,
|
predicate: () => settings.store.billing,
|
||||||
|
@ -95,10 +95,10 @@ export default definePlugin({
|
||||||
predicate: () => settings.store.emojiList,
|
predicate: () => settings.store.emojiList,
|
||||||
},
|
},
|
||||||
{ // Emoji category list
|
{ // Emoji category list
|
||||||
find: ".Messages.EMOJI_PICKER_SCROLL_TO_UNICODE_A11Y_LABEL",
|
find: "useEmojiCategories:function()",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(\w+)=\(0,\w+.useCategoryNitroLockedStates\)\(\w+,\w+,(\w+)\)/,
|
match: /(?<=(\i)\.unshift\((\i)\):)(?=\1\.push\(\2\))/,
|
||||||
replace: "$&,__98=($2=$2.filter((_,$2)=>!$1[$2]))"
|
replace: "$2.isNitroLocked||"
|
||||||
},
|
},
|
||||||
predicate: () => settings.store.emojiList,
|
predicate: () => settings.store.emojiList,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue