use the new icon in reposted by (#4307)

* use the new icon in reposted by

* tweak
zio/stable
Hailey 2024-06-03 15:35:57 -07:00 committed by GitHub
parent 16f295ca85
commit bda10510a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 8 deletions

View File

@ -43,6 +43,7 @@ import {Text} from '../util/text/Text'
import {PreviewableUserAvatar} from '../util/UserAvatar' import {PreviewableUserAvatar} from '../util/UserAvatar'
import {AviFollowButton} from './AviFollowButton' import {AviFollowButton} from './AviFollowButton'
import hairlineWidth = StyleSheet.hairlineWidth import hairlineWidth = StyleSheet.hairlineWidth
import {Repost_Stroke2_Corner2_Rounded as Repost} from '#/components/icons/Repost'
interface FeedItemProps { interface FeedItemProps {
record: AppBskyFeedPost.Record record: AppBskyFeedPost.Record
@ -251,13 +252,10 @@ let FeedItemInner = ({
)}`, )}`,
)} )}
onBeforePress={onOpenReposter}> onBeforePress={onOpenReposter}>
<FontAwesomeIcon <Repost
icon="retweet" style={{color: pal.colors.textLight, marginRight: 3}}
style={{ width={14}
marginRight: 4, height={14}
color: pal.colors.textLight,
minWidth: 16,
}}
/> />
<Text <Text
type="sm-bold" type="sm-bold"
@ -463,9 +461,10 @@ const styles = StyleSheet.create({
}, },
includeReason: { includeReason: {
flexDirection: 'row', flexDirection: 'row',
alignItems: 'center',
marginTop: 2, marginTop: 2,
marginBottom: 2, marginBottom: 2,
marginLeft: -20, marginLeft: -18,
}, },
layout: { layout: {
flexDirection: 'row', flexDirection: 'row',