From 7f0e7dd02bd241f9999da77642189868164b6e54 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Wed, 24 Apr 2024 05:23:50 +0200 Subject: [PATCH] fix FakeProfileThemes --- src/plugins/fakeProfileThemes/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugins/fakeProfileThemes/index.tsx b/src/plugins/fakeProfileThemes/index.tsx index c61437269..a1b629d10 100644 --- a/src/plugins/fakeProfileThemes/index.tsx +++ b/src/plugins/fakeProfileThemes/index.tsx @@ -92,8 +92,9 @@ export default definePlugin({ match: /(?<=getUserProfile\(\i\){return )(\i\[\i\])/, replace: "$self.colorDecodeHook($1)" } - }, { - find: ".USER_SETTINGS_PROFILE_THEME_ACCENT", + }, + { + find: ".USER_SETTINGS_RESET_PROFILE_THEME", replacement: { match: /RESET_PROFILE_THEME}\)(?<=color:(\i),.{0,500}?color:(\i),.{0,500}?)/, replace: "$&,$self.addCopy3y3Button({primary:$1,accent:$2})"