Make StatusPresets Work On Stable

This commit is contained in:
thororen1234 2025-07-21 17:27:13 -04:00
parent 785c04b8a1
commit 5180672246
No known key found for this signature in database

View file

@ -154,7 +154,7 @@ export default definePlugin({
{
find: "#{intl::CUSTOM_STATUS_SET_CUSTOM_STATUS}",
replacement: {
match: /cancelButton,text:\i\.\i\.string\(\i\.\i#{intl::CANCEL}\)\}\)/,
match: /cancelButton,(children|text):\i\.\i\.string\(\i\.\i#{intl::CANCEL}\)\}\)/,
replace: "$&,$self.renderRememberButton(this.state)"
}
},