Authored by 盖剑秋

Fix ui bug on building owner. reviewed by redding.

... ... @@ -16,7 +16,7 @@ export default class SPHeaderCell extends Component {
}
render() {
let {avatar, nickName, timeago, isOwner, sectionName} = this.props;
let {avatar, nickName, timeago, isOwner, sectionName, showLZ} = this.props;
return(
<View style={styles.container}>
<View style={styles.top}>
... ... @@ -24,7 +24,7 @@ export default class SPHeaderCell extends Component {
avatar={avatar}
name={nickName}
timeago={timeago}
isOwner={isOwner}
isOwner={isOwner||showLZ}
onPressAvatar={this.props.onPressAvatar}
/>
<SectionItem
... ...
... ... @@ -353,8 +353,9 @@ export default class SubjectPost extends Component {
avatar={rowData.headIcon}
nickName={rowData.nickName}
timeago={rowData.timeago}
isOwner={true}
isOwner={rowData.LZ}
sectionName={rowData.forumName}
showLZ={true}
onPressAvatar={() => {
this.props.onPressAvatar && this.props.onPressAvatar(rowData.uid);
}}
... ...