diff --git a/src/pages/organization/Donation.tsx b/src/pages/organization/Donation.tsx index 2edcc6f..ea91963 100644 --- a/src/pages/organization/Donation.tsx +++ b/src/pages/organization/Donation.tsx @@ -168,7 +168,7 @@ function PageContent({ orgId, navigation }: any) { useEffect(() => { discoverReaders({ discoveryMethod: 'localMobile', - simulated: false + simulated: true }); }, [discoverReaders]) @@ -338,7 +338,7 @@ function PageContent({ orgId, navigation }: any) { padding: 20, display: "flex", alignItems: "flex-start", - justifyContent: "flex-start", + justifyContent: "space-between", flex: 1, width: '100%', height: '100%', @@ -353,6 +353,9 @@ function PageContent({ orgId, navigation }: any) { onPress={async () => { await paymentIntent(); }} + style={{ + width: "100%", + }} > Create donation @@ -362,6 +365,11 @@ function PageContent({ orgId, navigation }: any) { )} + + ); } @@ -430,12 +438,19 @@ function Keyboard({ amount, setAmount} : any) { ); return ( - + pressDecimal(amount)} /> - pressBackspace(amount)} /> + pressBackspace(amount)} />