comment changes

This commit is contained in:
Mustafa Buyukcelebi 2019-10-08 13:14:50 +03:00
parent e40cb02236
commit 68bf094d59
2 changed files with 5 additions and 4 deletions

View File

@ -9,7 +9,7 @@ export default EStyleSheet.create({
position: 'absolute', position: 'absolute',
bottom: 0, bottom: 0,
left: 0, left: 0,
zIndex: 99999, zIndex: 999,
}, },
subContent: { subContent: {
flexDirection: 'row', flexDirection: 'row',

View File

@ -1,6 +1,7 @@
import React, { useEffect } from 'react'; import React, { useEffect } from 'react';
import { TouchableOpacity, SafeAreaView, View, Dimensions } from 'react-native'; import { SafeAreaView } from 'react-native';
import { useDispatch } from 'react-redux'; import { useDispatch } from 'react-redux';
import get from 'lodash/get';
// Services and Actions // Services and Actions
import { updateActiveBottomTab } from '../../../redux/actions/uiAction'; import { updateActiveBottomTab } from '../../../redux/actions/uiAction';
@ -19,8 +20,8 @@ const _jumpTo = (route, index, routes, jumpTo) => {
if ( if (
!!route && !!route &&
!!route.params && !!get(route, 'params') &&
!!route.params.scrollToTop && !!get(route, 'params.scrollToTop') &&
_routeName === ROUTES.TABBAR.HOME _routeName === ROUTES.TABBAR.HOME
) { ) {
route.params.scrollToTop(); route.params.scrollToTop();