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',
bottom: 0,
left: 0,
zIndex: 99999,
zIndex: 999,
},
subContent: {
flexDirection: 'row',

View File

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