Authored by 于良

iPhone 6P borderTopWidth bug fix review by 阿瑟

@@ -101,7 +101,8 @@ export default class UserThatNotMe extends React.Component { @@ -101,7 +101,8 @@ export default class UserThatNotMe extends React.Component {
101 return ( 101 return (
102 <View style={styles.sectionHeader}> 102 <View style={styles.sectionHeader}>
103 <Text style={styles.sectionHeaderText}>TA的发布</Text> 103 <Text style={styles.sectionHeaderText}>TA的发布</Text>
104 - <View style={styles.sectionHeaderLine}/> 104 + <View style={styles.sectionHeaderTopLine}/>
  105 + <View style={styles.sectionHeaderBottomLine}/>
105 </View> 106 </View>
106 ); 107 );
107 108
@@ -202,15 +203,21 @@ let styles = StyleSheet.create({ @@ -202,15 +203,21 @@ let styles = StyleSheet.create({
202 height: 46, 203 height: 46,
203 alignItems: 'center', 204 alignItems: 'center',
204 backgroundColor: 'white', 205 backgroundColor: 'white',
205 - borderTopWidth: 0.5,  
206 - borderTopColor: '#e0e0e0',  
207 }, 206 },
208 sectionHeaderText: { 207 sectionHeaderText: {
209 fontSize: 18, 208 fontSize: 18,
210 marginLeft: 17, 209 marginLeft: 17,
211 fontFamily: 'Helvetica Light', 210 fontFamily: 'Helvetica Light',
212 }, 211 },
213 - sectionHeaderLine: { 212 + sectionHeaderTopLine: {
  213 + position: 'absolute',
  214 + left: 0,
  215 + top: 0,
  216 + width: width,
  217 + height: 0.5,
  218 + backgroundColor: '#e0e0e0',
  219 + },
  220 + sectionHeaderBottomLine: {
214 position: 'absolute', 221 position: 'absolute',
215 left: 17, 222 left: 17,
216 bottom: 0, 223 bottom: 0,
@@ -56,7 +56,6 @@ class UserThatNotMeContainer extends React.Component { @@ -56,7 +56,6 @@ class UserThatNotMeContainer extends React.Component {
56 this._onPressComment = this._onPressComment.bind(this); 56 this._onPressComment = this._onPressComment.bind(this);
57 this._onPressLike = this._onPressLike.bind(this); 57 this._onPressLike = this._onPressLike.bind(this);
58 this._onEndReached = this._onEndReached.bind(this); 58 this._onEndReached = this._onEndReached.bind(this);
59 - this._onBack = this._onBack.bind(this);  
60 59
61 this.sid = this.props.userThatNotMe.sid; 60 this.sid = this.props.userThatNotMe.sid;
62 } 61 }