From 99b958027b9f1a24f33aa7c0c66e48d8daf59cbf Mon Sep 17 00:00:00 2001 From: feruz Date: Wed, 4 Dec 2019 14:54:14 +0200 Subject: [PATCH] clean unused vars --- src/screens/wallet/screen/walletScreen.js | 4 +--- src/screens/wallet/screen/walletScreenStyles.js | 11 ----------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/src/screens/wallet/screen/walletScreen.js b/src/screens/wallet/screen/walletScreen.js index 336e7dd60..3927c1797 100644 --- a/src/screens/wallet/screen/walletScreen.js +++ b/src/screens/wallet/screen/walletScreen.js @@ -1,6 +1,6 @@ import React, { Fragment, useState } from 'react'; import Swiper from 'react-native-swiper'; -import { SafeAreaView, Animated, ScrollView, Text } from 'react-native'; +import { SafeAreaView, Animated, ScrollView } from 'react-native'; // Containers import { LoggedInContainer } from '../../../containers'; @@ -18,7 +18,6 @@ import styles from './walletScreenStyles'; const HEADER_EXPANDED_HEIGHT = 260; const HEADER_COLLAPSED_HEIGHT = 20; -const WALLETS = ['ESTM', 'STEEM', 'SBD', 'SP']; const WalletScreen = () => { const [selectedUserActivities, setSelectedUserActivities] = useState(null); @@ -26,7 +25,6 @@ const WalletScreen = () => { const [currentIndex, setCurrentIndex] = useState(0); const [refreshing, setRefreshing] = useState(false); const [scrollY] = useState(new Animated.Value(0)); - const [isScroll, setScroll] = useState(false); const _handleSwipeItemChange = (userActivities, _isLoading) => { setSelectedUserActivities(userActivities); diff --git a/src/screens/wallet/screen/walletScreenStyles.js b/src/screens/wallet/screen/walletScreenStyles.js index c2b3650fa..dcd51921b 100644 --- a/src/screens/wallet/screen/walletScreenStyles.js +++ b/src/screens/wallet/screen/walletScreenStyles.js @@ -2,15 +2,10 @@ import EStyleSheet from 'react-native-extended-stylesheet'; import { Dimensions } from 'react-native'; const HEADER_EXPANDED_HEIGHT = 260; -const HEADER_COLLAPSED_HEIGHT = 20; const { width: SCREEN_WIDTH } = Dimensions.get('screen'); export default EStyleSheet.create({ - container: { - flex: 1, - backgroundColor: '#eaeaea', - }, scrollContainer: { padding: 0, paddingTop: HEADER_EXPANDED_HEIGHT, @@ -23,10 +18,4 @@ export default EStyleSheet.create({ left: 0, zIndex: 9999, }, - title: { - marginVertical: 16, - color: 'black', - fontWeight: 'bold', - fontSize: 24, - }, });