fix accountpanelserverprofile & update profilecollections
This commit is contained in:
parent
2416d1f73d
commit
bfba33956e
2 changed files with 2 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ export default definePlugin({
|
|||
patches: [
|
||||
// message and member list popouts
|
||||
{
|
||||
find: ".USER_PROFILE_POPOUT])",
|
||||
find: '"UserProfilePopout");',
|
||||
replacement: {
|
||||
match: /user:\i,widgets:.{0,100}?\}\),/,
|
||||
replace: "$&Vencord.Api.ProfileCollections.renderProfileCollections(arguments[0]),",
|
||||
|
|
|
|||
|
|
@ -21,8 +21,7 @@ interface UserProfileProps {
|
|||
originalRenderPopout: () => React.ReactNode;
|
||||
}
|
||||
|
||||
const UserProfile = findComponentByCodeLazy(".POPOUT,user");
|
||||
|
||||
const UserProfile = findComponentByCodeLazy(".isNonUserBot()?", ",onClickContainer:");
|
||||
let openAlternatePopout = false;
|
||||
let accountPanelRef: React.RefObject<HTMLDivElement | null> = { current: null };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue