mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-05 12:36:31 +03:00
added scrollview
This commit is contained in:
parent
113f94b822
commit
520fcfdf9e
@ -1,5 +1,5 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { View, Platform } from 'react-native';
|
import { View, Platform, ScrollView } from 'react-native';
|
||||||
import get from 'lodash/get';
|
import get from 'lodash/get';
|
||||||
import { useIntl } from 'react-intl';
|
import { useIntl } from 'react-intl';
|
||||||
|
|
||||||
@ -44,16 +44,18 @@ const BoostScreen = () => {
|
|||||||
{isLoading ? (
|
{isLoading ? (
|
||||||
<BoostPlaceHolder />
|
<BoostPlaceHolder />
|
||||||
) : (
|
) : (
|
||||||
productList.map(product => (
|
<ScrollView>
|
||||||
<ProductItemLine
|
{productList.map(product => (
|
||||||
key={get(product, 'title')}
|
<ProductItemLine
|
||||||
isLoading={isLoading}
|
key={get(product, 'title')}
|
||||||
disabled={isProcessing}
|
isLoading={isLoading}
|
||||||
product={product}
|
disabled={isProcessing}
|
||||||
title={_getTitle(get(product, 'title'))}
|
product={product}
|
||||||
handleOnButtonPress={id => buyItem(id)}
|
title={_getTitle(get(product, 'title'))}
|
||||||
/>
|
handleOnButtonPress={id => buyItem(id)}
|
||||||
))
|
/>
|
||||||
|
))}
|
||||||
|
</ScrollView>
|
||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
)}
|
)}
|
||||||
|
Loading…
Reference in New Issue
Block a user