about summary refs log tree commit diff
path: root/src/view/com/modals/ProfilePreview.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-09-20 21:16:11 -0500
committerGitHub <noreply@github.com>2023-09-20 19:16:11 -0700
commit6df1bcad31a4e58a7cdade6d19e75bd7c0b5ee9a (patch)
tree03e6167067c4ed45cf78d0e0101196bffe840f30 /src/view/com/modals/ProfilePreview.tsx
parent498c3e2c271524f7bac08df9d6cc4d72174a4521 (diff)
downloadvoidsky-6df1bcad31a4e58a7cdade6d19e75bd7c0b5ee9a.tar.zst
add suggested follow section to profile header (#1481)
* add suggested follow section to profile header

* fix button overflow

* don't even render on preview

* fix useFollowDid and FollowButton race condition

* add section header, close button, active state

* lighten icon
Diffstat (limited to 'src/view/com/modals/ProfilePreview.tsx')
-rw-r--r--src/view/com/modals/ProfilePreview.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/view/com/modals/ProfilePreview.tsx b/src/view/com/modals/ProfilePreview.tsx
index 6f189cf1a..e0b3ec072 100644
--- a/src/view/com/modals/ProfilePreview.tsx
+++ b/src/view/com/modals/ProfilePreview.tsx
@@ -41,7 +41,12 @@ export const Component = observer(function ProfilePreviewImpl({
           styles.headerWrapper,
           isLoading && isIOS && styles.headerPositionAdjust,
         ]}>
-        <ProfileHeader view={model} hideBackButton onRefreshAll={() => {}} />
+        <ProfileHeader
+          view={model}
+          hideBackButton
+          onRefreshAll={() => {}}
+          isProfilePreview
+        />
       </View>
       <View style={[styles.hintWrapper, pal.view]}>
         <View style={styles.hint}>