PinDMs: Fix real time updating when changing settings

This commit is contained in:
Nuckyz 2024-12-16 19:36:15 -03:00
parent fc731bc6c8
commit 48a9aef2eb
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -124,7 +124,7 @@ export default definePlugin({
{
find: ".FRIENDS},\"friends\"",
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,"
}
},