ADD: Maximum width for wallet carousel item

This commit is contained in:
marcosrdz 2020-05-25 00:15:17 -04:00
parent bb2c3c139c
commit b008fa4e46

View file

@ -1978,7 +1978,7 @@ const WalletCarouselItem = ({ item, index, onPress, handleLongPress }) => {
};
const sliderWidth = width * 1;
const itemWidth = width * 0.82;
const itemWidth = width > 375 ? 375 : width * 0.82;
const sliderHeight = 190;
export class WalletsCarousel extends Component {