about summary refs log tree commit diff
path: root/src/view/com/util
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-01-17 13:17:38 -0600
committerPaul Frazee <pfrazee@gmail.com>2023-01-17 13:17:38 -0600
commite3e2831d116874fe8419d1423f29f0249c7f980b (patch)
tree521eb55d84ff2631da9ab01116685e015161c021 /src/view/com/util
parent798622b307220a8634a911afabea3864a812aa64 (diff)
downloadvoidsky-e3e2831d116874fe8419d1423f29f0249c7f980b.tar.zst
Rework repost icon to match line widths
Diffstat (limited to 'src/view/com/util')
-rw-r--r--src/view/com/util/PostCtrls.tsx13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/view/com/util/PostCtrls.tsx b/src/view/com/util/PostCtrls.tsx
index 7803c4799..0ca13b62f 100644
--- a/src/view/com/util/PostCtrls.tsx
+++ b/src/view/com/util/PostCtrls.tsx
@@ -11,7 +11,12 @@ import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
 import ReactNativeHapticFeedback from 'react-native-haptic-feedback'
 import {Text} from './text/Text'
 import {PostDropdownBtn} from './forms/DropdownButton'
-import {HeartIcon, HeartIconSolid, CommentBottomArrow} from '../../lib/icons'
+import {
+  HeartIcon,
+  HeartIconSolid,
+  RepostIcon,
+  CommentBottomArrow,
+} from '../../lib/icons'
 import {s, colors} from '../../lib/styles'
 import {useTheme} from '../../lib/ThemeContext'
 import {useAnimatedValue} from '../../lib/hooks/useAnimatedValue'
@@ -143,12 +148,12 @@ export function PostCtrls(opts: PostCtrlsOpts) {
           onPress={onPressToggleRepostWrapper}
           style={styles.ctrl}>
           <Animated.View style={anim1Style}>
-            <FontAwesomeIcon
+            <RepostIcon
               style={
                 opts.isReposted ? styles.ctrlIconReposted : defaultCtrlColor
               }
-              icon="retweet"
-              size={opts.big ? 22 : 19}
+              strokeWidth={2.4}
+              size={opts.big ? 24 : 20}
             />
           </Animated.View>
           {typeof opts.repostCount !== 'undefined' ? (