日记本默认公开

This commit is contained in:
mx1700 2019-08-07 22:35:17 +08:00
parent fc0b405e98
commit 76580c64e3

View file

@ -49,7 +49,7 @@ export default class Comment extends Component {
comment.recipient == null
? <Text style={localStyle.content}>{comment.content}</Text>
: (
<Text style={localStyle.content}>
<Text style={localStyle.content} selectable={true} selectionColor={Color.textSelect}>
<Text style={{color: Color.primary}}>@{comment.recipient.name} </Text>
{comment.content}
</Text>