...
|
...
|
@@ -92,8 +92,9 @@ export default class RedBrand extends Component { |
|
|
if (productListIsEmpty && noFilterValue) {
|
|
|
return null;
|
|
|
}
|
|
|
let brandFilterContainerHeight = this.props.fliter == '2' ? 84 : 40;
|
|
|
return (
|
|
|
<View style={styles.brandFilterContainer} onLayout={(evt) => {yPosition = evt.nativeEvent.layout.y;}}>
|
|
|
<View style={[styles.brandFilterContainer,{height:brandFilterContainerHeight}]} onLayout={(evt) => {yPosition = evt.nativeEvent.layout.y;}}>
|
|
|
{this.props.fliter == '2' ?
|
|
|
<RedBrandStoreFilter resource={fliter} onPressStoreFilter={this._onPressFilter}/>
|
|
|
:null
|
...
|
...
|
|