Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

Display see more link for suggested users in profile header (#10134)

authored by

DS Boyce and committed by
GitHub
22620407 498d321b

+32 -36
+32 -36
src/components/FeedInterstitials.tsx
··· 560 560 <Text style={[a.text_sm, a.font_semi_bold, t.atoms.text]}> 561 561 <Trans>Suggested for you</Trans> 562 562 </Text> 563 - {!isProfileHeaderContext && ( 564 - <Button 565 - label={l`See more suggested profiles`} 566 - onPress={() => { 567 - followDialogControl.open() 568 - ax.metric('suggestedUser:seeMore', { 569 - logContext, 570 - recId, 571 - }) 572 - }}> 573 - {({hovered}) => ( 574 - <Text 575 - style={[ 576 - a.text_sm, 577 - {color: t.palette.primary_500}, 578 - hovered && 579 - web({ 580 - textDecorationLine: 'underline', 581 - textDecorationColor: t.palette.primary_500, 582 - }), 583 - ]}> 584 - <Trans>See more</Trans> 585 - </Text> 586 - )} 587 - </Button> 588 - )} 563 + <Button 564 + label={l`See more suggested profiles`} 565 + onPress={() => { 566 + followDialogControl.open() 567 + ax.metric('suggestedUser:seeMore', { 568 + logContext, 569 + recId, 570 + }) 571 + }}> 572 + {({hovered}) => ( 573 + <Text 574 + style={[ 575 + a.text_sm, 576 + {color: t.palette.primary_500}, 577 + hovered && 578 + web({ 579 + textDecorationLine: 'underline', 580 + textDecorationColor: t.palette.primary_500, 581 + }), 582 + ]}> 583 + <Trans>See more</Trans> 584 + </Text> 585 + )} 586 + </Button> 589 587 </View> 590 588 <FollowDialogWithoutGuide control={followDialogControl} /> 591 589 <LayoutAnimationConfig skipExiting skipEntering> ··· 605 603 decelerationRate="fast"> 606 604 {content} 607 605 608 - {!isProfileHeaderContext && ( 609 - <SeeMoreSuggestedProfilesCard 610 - onPress={() => { 611 - followDialogControl.open() 612 - ax.metric('suggestedUser:seeMore', { 613 - logContext, 614 - }) 615 - }} 616 - /> 617 - )} 606 + <SeeMoreSuggestedProfilesCard 607 + onPress={() => { 608 + followDialogControl.open() 609 + ax.metric('suggestedUser:seeMore', { 610 + logContext, 611 + }) 612 + }} 613 + /> 618 614 </ScrollView> 619 615 </BlockDrawerGesture> 620 616 )}