Commit 8980c856 by G

fix scrollview not scrolling allright

parent 941c4cf5
...@@ -21,11 +21,14 @@ const TransactionHistoryScreen = () => { ...@@ -21,11 +21,14 @@ const TransactionHistoryScreen = () => {
<BackgroundWithBeasyIconAndWhiteContentArea> <BackgroundWithBeasyIconAndWhiteContentArea>
<ScrollView <ScrollView
refreshControl={<RefreshControl refreshing={isLoading} onRefresh={refetch} />} refreshControl={<RefreshControl refreshing={isLoading} onRefresh={refetch} />}
contentContainerStyle={{ flex: 1, gap: 5, flexDirection: "column" }} contentContainerStyle={{
gap: 5,
padding: 10,
flexDirection: "column",
}}
showsVerticalScrollIndicator={false} showsVerticalScrollIndicator={false}
> >
{data?.map((transaction) => ( {data?.map((transaction) => (
// <Text key={transaction.reference}>{transaction.reference}</Text>
<TransactionInformationsItem <TransactionInformationsItem
key={transaction.reference} key={transaction.reference}
paymentType={transaction.type_paiement_label} paymentType={transaction.type_paiement_label}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment