mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix layout shift in profile feed header (#7906)

authored by samuel.fm and committed by

GitHub c5d9e282 f5f02aa4

+4 -11
+3 -3
src/screens/Profile/ProfileFeed/index.tsx
··· 102 102 } 103 103 104 104 return resolvedUri ? ( 105 - <Layout.Screen> 105 + <Layout.Screen testID="profileFeedScreen"> 106 106 <ProfileFeedScreenIntermediate 107 107 feedUri={resolvedUri.uri} 108 108 feedParams={feedParams} 109 109 /> 110 110 </Layout.Screen> 111 111 ) : ( 112 - <Layout.Screen> 112 + <Layout.Screen testID="profileFeedScreen"> 113 + <ProfileFeedHeaderSkeleton /> 113 114 <Layout.Content> 114 - <ProfileFeedHeaderSkeleton /> 115 115 <PostFeedLoadingPlaceholder /> 116 116 </Layout.Content> 117 117 </Layout.Screen>
+1 -8
src/screens/Profile/components/ProfileFeedHeader.tsx
··· 61 61 <Layout.Header.BackButton /> 62 62 <Layout.Header.Content> 63 63 <View 64 - style={[ 65 - a.w_full, 66 - a.rounded_sm, 67 - t.atoms.bg_contrast_25, 68 - { 69 - height: 44, 70 - }, 71 - ]} 64 + style={[a.w_full, a.rounded_sm, t.atoms.bg_contrast_25, {height: 40}]} 72 65 /> 73 66 </Layout.Header.Content> 74 67 <Layout.Header.Slot>