mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 12:51:42 +03:00
clean unused vars
This commit is contained in:
parent
af452acf44
commit
99b958027b
@ -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);
|
||||
|
@ -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,
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user