Merge pull request #3340 from BlueWallet/removecentercontent

Update WalletsCarousel.js
This commit is contained in:
GLaDOS 2021-07-03 18:06:28 +01:00 committed by GitHub
commit 9e7980cd93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -335,12 +335,10 @@ const WalletsCarousel = forwardRef((props, ref) => {
disableIntervalMomentum={isHandset}
snapToInterval={itemWidth} // Adjust to your content width
decelerationRate="fast"
snapToStart
contentContainerStyle={cStyles.content}
directionalLockEnabled
showsHorizontalScrollIndicator={false}
initialNumToRender={10}
centerContent
ListHeaderComponent={ListHeaderComponent}
style={props.vertical ? {} : { height: sliderHeight + 9 }}
{...props}