From 8364e1a081affa2f51efb216688650410a3122b3 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Fri, 17 Mar 2023 18:11:57 -0500 Subject: [PATCH] Fix backgrounds --- src/view/com/discover/SuggestedFollows.tsx | 1 + src/view/com/profile/ProfileCard.tsx | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/view/com/discover/SuggestedFollows.tsx b/src/view/com/discover/SuggestedFollows.tsx index dd1136a4..7a64a15f 100644 --- a/src/view/com/discover/SuggestedFollows.tsx +++ b/src/view/com/discover/SuggestedFollows.tsx @@ -28,6 +28,7 @@ export const SuggestedFollows = ({ handle={item.handle} displayName={item.displayName} avatar={item.avatar} + noBg noBorder description="" followers={ diff --git a/src/view/com/profile/ProfileCard.tsx b/src/view/com/profile/ProfileCard.tsx index ebb42766..53f45fb1 100644 --- a/src/view/com/profile/ProfileCard.tsx +++ b/src/view/com/profile/ProfileCard.tsx @@ -16,6 +16,7 @@ export function ProfileCard({ avatar, description, isFollowedBy, + noBg, noBorder, followers, renderButton, @@ -25,6 +26,7 @@ export function ProfileCard({ avatar?: string description?: string isFollowedBy?: boolean + noBg?: boolean noBorder?: boolean followers?: AppBskyActorProfile.View[] | undefined renderButton?: () => JSX.Element @@ -32,7 +34,12 @@ export function ProfileCard({ const pal = usePalette('default') return ( { @@ -126,6 +135,7 @@ export const ProfileCardWithFollowBtn = observer( avatar={avatar} description={description} isFollowedBy={isFollowedBy} + noBg={noBg} noBorder={noBorder} followers={followers} renderButton={