1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-09 09:26:22 +00:00

PinDMs: Fix real time updating when changing settings

again...
This commit is contained in:
Nuckyz 2025-01-08 19:06:09 -03:00
parent 2707b10021
commit 5a77149b26
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.{0,950}showDMHeader:.+?,/,
match: /let{showLibrary:\i,.+?showDMHeader:.+?,/,
replace: "let forceUpdate = Vencord.Util.useForceUpdater();$&_forceUpdate:forceUpdate,"
}
},