Skip to content

Commit

Permalink
price displayed on button
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhorarya12 committed Aug 8, 2024
1 parent ba0bd83 commit 0ee14fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/screens/Checkout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const Checkout = ({ navigation, route }) => {

setLoadingText('Confirming order ...');
await confirmPayment('Completed');
alert('Payment Confirmed');
// alert('Payment Confirmed');
bottomSheetRef.current?.close();
dispatch(clearCart());
navigation.navigate('ConfirmOrder', { orderData: resData });
Expand Down Expand Up @@ -377,7 +377,7 @@ const Checkout = ({ navigation, route }) => {
start={{ x: 0, y: 0 }}
end={{ x: 1, y: 0 }}
colors={color}>
<Text style={{ fontSize: width * 0.04, fontFamily: 'RobotoSlab_semiBold', color: 'white' }} >{orderData.paymentMode === 'Cash on delivery' ? 'Place Order' : 'Razorpay Checkout'}</Text>
<Text style={{ fontSize: width * 0.04, fontFamily: 'RobotoSlab_semiBold', color: 'white' }} >{orderData.paymentMode === 'Cash on delivery' ? 'Place Order' : `Pay ₹ ${subTotal + 99} `}</Text>
</LinearGradient>
</TouchableOpacity>

Expand Down

0 comments on commit 0ee14fd

Please sign in to comment.