diff --git a/src/components/ProductItem/index.tsx b/src/components/ProductItem/index.tsx index 675fb4e..c558c29 100644 --- a/src/components/ProductItem/index.tsx +++ b/src/components/ProductItem/index.tsx @@ -16,24 +16,24 @@ export default function ProductItem({ product, isDetailed, isCartItem }: TProduc return ( - + source={{ uri: product.image }} + />} {product?.title ?? ''} {product?.price ? '$' + product.price : ''} {isCartItem && dispatch(add(product))}> - + + + {addedItem?.quantity ?? 0} dispatch(remove(product))}> - - + - } @@ -79,6 +79,7 @@ const styles = StyleSheet.create({ borderRadius: 4, }, counter: { - fontSize: 15 + fontSize: 15, + color: '#000' }, }); \ No newline at end of file diff --git a/src/screens/CartScreen.tsx b/src/screens/CartScreen.tsx index 5df827a..9a316b1 100644 --- a/src/screens/CartScreen.tsx +++ b/src/screens/CartScreen.tsx @@ -48,6 +48,7 @@ const styles = StyleSheet.create({ }, totalText: { fontSize: 20, - fontWeight: '600' + fontWeight: '600', + color: '#000' } }); \ No newline at end of file diff --git a/src/screens/ProductDetails.tsx b/src/screens/ProductDetails.tsx index c0a278b..6cc7719 100644 --- a/src/screens/ProductDetails.tsx +++ b/src/screens/ProductDetails.tsx @@ -48,13 +48,13 @@ export default function ProductDetails() { handleRemoveFromCart(product!)}> - - + - {addedItem?.quantity ?? 0} handleAddToCart(product!)}> - + + +