From a9c91d3e88377a89a42617e7fb467c52a943f5cd Mon Sep 17 00:00:00 2001 From: noumantahir Date: Fri, 21 Jan 2022 23:53:35 +0500 Subject: [PATCH] fine tuned wallet headder heights --- src/components/horizontalIconList/horizontalIconListView.js | 1 + src/components/walletHeader/view/walletHeaderStyles.js | 2 +- src/screens/wallet/screen/walletScreen.js | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/horizontalIconList/horizontalIconListView.js b/src/components/horizontalIconList/horizontalIconListView.js index fbab7e328..c5c8a3c9c 100644 --- a/src/components/horizontalIconList/horizontalIconListView.js +++ b/src/components/horizontalIconList/horizontalIconListView.js @@ -50,6 +50,7 @@ const HorizontalIconList = ({ options, optionsKeys }) => { keyExtractor={(item) => get(item, 'type', Math.random()).toString()} horizontal renderItem={_renderItem} + showsHorizontalScrollIndicator={false} /> ); diff --git a/src/components/walletHeader/view/walletHeaderStyles.js b/src/components/walletHeader/view/walletHeaderStyles.js index 67034968b..b2cde2575 100644 --- a/src/components/walletHeader/view/walletHeaderStyles.js +++ b/src/components/walletHeader/view/walletHeaderStyles.js @@ -34,7 +34,7 @@ export default EStyleSheet.create({ color: '$primaryDarkText', }, mainButton: { - marginVertical: 8, + marginTop: 16, alignSelf: 'center', paddingHorizontal: 24, }, diff --git a/src/screens/wallet/screen/walletScreen.js b/src/screens/wallet/screen/walletScreen.js index 14acc91d4..6a930993d 100644 --- a/src/screens/wallet/screen/walletScreen.js +++ b/src/screens/wallet/screen/walletScreen.js @@ -6,7 +6,7 @@ import { SafeAreaView, View, RefreshControl, Text } from 'react-native'; // Containers import { FlatList } from 'react-native-gesture-handler'; import { useIntl } from 'react-intl'; -import { LoggedInContainer, ThemeContainer } from '../../../containers'; +import { LoggedInContainer } from '../../../containers'; // Components import { @@ -28,7 +28,7 @@ import styles from './walletScreenStyles'; import POINTS, { POINTS_KEYS } from '../../../constants/options/points'; import { useAppSelector } from '../../../hooks'; -const HEADER_EXPANDED_HEIGHT = 260; +const HEADER_EXPANDED_HEIGHT = 312; const WalletScreen = () => { const intl = useIntl();