PinDMs: Fix real time updating when changing settings
This commit is contained in:
parent
fc731bc6c8
commit
48a9aef2eb
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: ".FRIENDS},\"friends\"",
|
find: ".FRIENDS},\"friends\"",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(?<=\i=\i=>{).{1,100}premiumTabSelected.{1,800}showDMHeader:.+?,/,
|
match: /(?<=\i=\i=>{).{1,100}premiumTabSelected.{0,950}showDMHeader:.+?,/,
|
||||||
replace: "let forceUpdate = Vencord.Util.useForceUpdater();$&_forceUpdate:forceUpdate,"
|
replace: "let forceUpdate = Vencord.Util.useForceUpdater();$&_forceUpdate:forceUpdate,"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue