mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-07 21:53:04 -04:00
Fix broken UserSettingsAPI patch
This commit is contained in:
parent
bbeaa461e5
commit
1fdfd6f305
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@ export default definePlugin({
|
|||
replacement: [
|
||||
// Main setting definition
|
||||
{
|
||||
match: /(?<=INFREQUENT_USER_ACTION.{0,20},)useSetting:/,
|
||||
replace: "userSettingsAPIGroup:arguments[0],userSettingsAPIName:arguments[1],$&"
|
||||
match: /\.updateAsync\(.+?(?=,useSetting:)/,
|
||||
replace: "$&,userSettingsAPIGroup:arguments[0],userSettingsAPIName:arguments[1]"
|
||||
},
|
||||
// Selective wrapper
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue