mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-28 10:22:38 +03:00
comment changes
This commit is contained in:
parent
e40cb02236
commit
68bf094d59
@ -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',
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user