mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-05-11 01:45:48 +02:00
AccountPanelServerProfile: Fix patch issue with onPopoutClose (#3304)
This commit is contained in:
parent
9d2f2460e1
commit
71f352a611
1 changed files with 2 additions and 2 deletions
|
@ -81,8 +81,8 @@ export default definePlugin({
|
|||
replace: (_, rest, popoutProps, originalPopout, currentUser) => `${rest}$self.UserProfile({popoutProps:${popoutProps},currentUser:${currentUser},originalRenderPopout:()=>{${originalPopout}}})`
|
||||
},
|
||||
{
|
||||
match: /\.AVATAR,children:.+?(?=renderPopout:)/,
|
||||
replace: "$&onRequestClose:$self.onPopoutClose,"
|
||||
match: /\.AVATAR,children:.+?onRequestClose:\(\)=>\{/,
|
||||
replace: "$&$self.onPopoutClose();"
|
||||
},
|
||||
{
|
||||
match: /(?<=#{intl::SET_STATUS}\),)/,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue