diff options
author | Hailey <me@haileyok.com> | 2024-06-03 15:35:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-03 23:35:57 +0100 |
commit | bda10510a479d0c9ce710b74249b0b7c47adf0c7 (patch) | |
tree | 343e234eda2712401e25a1912d739655b2ed90f5 /src | |
parent | 16f295ca858bd75fba623ca1fc4f559792fd21f3 (diff) | |
download | voidsky-bda10510a479d0c9ce710b74249b0b7c47adf0c7.tar.zst |
use the new icon in reposted by (#4307)
* use the new icon in reposted by * tweak
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/posts/FeedItem.tsx | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/view/com/posts/FeedItem.tsx b/src/view/com/posts/FeedItem.tsx index 72c8b8757..675f23a88 100644 --- a/src/view/com/posts/FeedItem.tsx +++ b/src/view/com/posts/FeedItem.tsx @@ -43,6 +43,7 @@ import {Text} from '../util/text/Text' import {PreviewableUserAvatar} from '../util/UserAvatar' import {AviFollowButton} from './AviFollowButton' import hairlineWidth = StyleSheet.hairlineWidth +import {Repost_Stroke2_Corner2_Rounded as Repost} from '#/components/icons/Repost' interface FeedItemProps { record: AppBskyFeedPost.Record @@ -251,13 +252,10 @@ let FeedItemInner = ({ )}`, )} onBeforePress={onOpenReposter}> - <FontAwesomeIcon - icon="retweet" - style={{ - marginRight: 4, - color: pal.colors.textLight, - minWidth: 16, - }} + <Repost + style={{color: pal.colors.textLight, marginRight: 3}} + width={14} + height={14} /> <Text type="sm-bold" @@ -463,9 +461,10 @@ const styles = StyleSheet.create({ }, includeReason: { flexDirection: 'row', + alignItems: 'center', marginTop: 2, marginBottom: 2, - marginLeft: -20, + marginLeft: -18, }, layout: { flexDirection: 'row', |