about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-03-17 18:11:57 -0500
committerPaul Frazee <pfrazee@gmail.com>2023-03-17 18:11:57 -0500
commit8364e1a081affa2f51efb216688650410a3122b3 (patch)
tree1e3c9fc6c9585e587dd7c50bc51a13917873f43e /src
parent025681c2f2c161325bac7fa7c435c580b947d6f4 (diff)
downloadvoidsky-8364e1a081affa2f51efb216688650410a3122b3.tar.zst
Fix backgrounds
Diffstat (limited to 'src')
-rw-r--r--src/view/com/discover/SuggestedFollows.tsx1
-rw-r--r--src/view/com/profile/ProfileCard.tsx12
2 files changed, 12 insertions, 1 deletions
diff --git a/src/view/com/discover/SuggestedFollows.tsx b/src/view/com/discover/SuggestedFollows.tsx
index dd1136a48..7a64a15f6 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 ebb427664..53f45fb11 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 (
     <Link
-      style={[styles.outer, pal.border, noBorder && styles.outerNoBorder]}
+      style={[
+        styles.outer,
+        pal.border,
+        noBorder && styles.outerNoBorder,
+        !noBg && pal.view,
+      ]}
       href={`/profile/${handle}`}
       title={handle}
       noFeedback
@@ -103,6 +110,7 @@ export const ProfileCardWithFollowBtn = observer(
     avatar,
     description,
     isFollowedBy,
+    noBg,
     noBorder,
     followers,
   }: {
@@ -113,6 +121,7 @@ export const ProfileCardWithFollowBtn = observer(
     avatar?: string
     description?: string
     isFollowedBy?: boolean
+    noBg?: boolean
     noBorder?: boolean
     followers?: AppBskyActorProfile.View[] | undefined
   }) => {
@@ -126,6 +135,7 @@ export const ProfileCardWithFollowBtn = observer(
         avatar={avatar}
         description={description}
         isFollowedBy={isFollowedBy}
+        noBg={noBg}
         noBorder={noBorder}
         followers={followers}
         renderButton={