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
This commit is contained in:
Eric Bailey 2023-09-20 21:16:11 -05:00 committed by GitHub
parent 498c3e2c27
commit 6df1bcad31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 406 additions and 34 deletions

View file

@ -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}>