diff --git a/src/plugins/fakeProfileThemes/index.tsx b/src/plugins/fakeProfileThemes/index.tsx index ec550f850..c0db3f2d4 100644 --- a/src/plugins/fakeProfileThemes/index.tsx +++ b/src/plugins/fakeProfileThemes/index.tsx @@ -211,7 +211,7 @@ export default definePlugin({ }, }, { - find: "#{intl::USER_SETTINGS_RESET_PROFILE_THEME}", + find: "#{intl::USER_SETTINGS_RESET_PROFILE_THEME}),onClick:", replacement: { match: /#{intl::USER_SETTINGS_RESET_PROFILE_THEME}\).+?}\)(?=\])(?<=color:(\i),.{0,500}?color:(\i),.{0,500}?)/, replace: "$&,$self.addCopy3y3Button({primary:$1,accent:$2})"