From 7f1ccef383310ecc20f3d521aa7d380bf9b0cd6c Mon Sep 17 00:00:00 2001 From: Vendicated Date: Wed, 26 Jun 2024 13:27:23 +0200 Subject: [PATCH] fix ShowConnections --- src/plugins/platformIndicators/index.tsx | 1 - src/plugins/showConnections/index.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/platformIndicators/index.tsx b/src/plugins/platformIndicators/index.tsx index eef74d65..2b8a8938 100644 --- a/src/plugins/platformIndicators/index.tsx +++ b/src/plugins/platformIndicators/index.tsx @@ -119,7 +119,6 @@ const PlatformIndicator = ({ user, wantMargin = true, wantTopMargin = false, sma verticalAlign: "top", position: "relative", top: wantTopMargin ? 2 : 0, - padding: !wantMargin ? 1 : 0, gap: 2 }} diff --git a/src/plugins/showConnections/index.tsx b/src/plugins/showConnections/index.tsx index 5ef09066..eb8ed1b8 100644 --- a/src/plugins/showConnections/index.tsx +++ b/src/plugins/showConnections/index.tsx @@ -211,7 +211,7 @@ export default definePlugin({ } }, { - find: ".BITE_SIZE,onOpenProfile", + find: '"BiteSizeProfileBody"', replacement: { match: /currentUser:\i,guild:\i,onOpenProfile:.+?}\)(?=])(?<=user:(\i),bio:null==(\i)\?.+?)/, replace: "$&,$self.profilePopoutComponent({ user: $1, displayProfile: $2, simplified: true })"