...
|
...
|
@@ -41,7 +41,7 @@ export default class SectionSelector extends Component { |
|
|
return (
|
|
|
<View style={styles.container}>
|
|
|
{sections.map((item, i) => {
|
|
|
let backgroundColor = item.forumName === this.props.selectedSectionName ? '#cccccc' : 'white';
|
|
|
let backgroundColor = item.forumName === this.props.selectedSectionName ? '#f2f2f2' : 'white';
|
|
|
return (
|
|
|
<Text
|
|
|
key={i}
|
...
|
...
|
@@ -77,7 +77,7 @@ const styles = StyleSheet.create({ |
|
|
paddingTop: 3,
|
|
|
// minWidth: Math.ceil((width - 45) / 3),
|
|
|
width:((width - 45) / 3),
|
|
|
borderColor: '#a0a0a0',
|
|
|
borderColor: '#f2f2f2',
|
|
|
marginBottom: 10,
|
|
|
backgroundColor: '#f2f2f2',
|
|
|
borderWidth: 0.5,
|
...
|
...
|
|