1
0
mirror of https://github.com/tooot-app/app synced 2025-01-10 08:33:45 +01:00

Update Actions.tsx

https://github.com/tooot-app/app/issues/274
This commit is contained in:
Zhiyuan Zheng 2022-05-11 00:11:18 +02:00
parent c105b36b3d
commit ee2f23c972

View File

@ -207,7 +207,7 @@ const TimelineActions: React.FC<Props> = ({
<Icon <Icon
name='Repeat' name='Repeat'
color={ color={
status.visibility === 'private' || status.visibility === 'direct' status.visibility === 'direct'
? colors.disabled ? colors.disabled
: color(status.reblogged) : color(status.reblogged)
} }
@ -297,9 +297,7 @@ const TimelineActions: React.FC<Props> = ({
style={styles.action} style={styles.action}
onPress={onPressReblog} onPress={onPressReblog}
children={childrenReblog} children={childrenReblog}
disabled={ disabled={status.visibility === 'direct'}
status.visibility === 'private' || status.visibility === 'direct'
}
/> />
<Pressable <Pressable