mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-24 22:03:21 +03:00
fixed bg color same enhancment
This commit is contained in:
parent
9d59424aab
commit
624357b0f1
@ -18,12 +18,7 @@ import styles from './bottomTabBarStyles';
|
||||
const _jumpTo = (route, index, routes, jumpTo) => {
|
||||
const _routeName = routes[index].routeName;
|
||||
|
||||
if (
|
||||
!!route &&
|
||||
!!get(route, 'params') &&
|
||||
!!get(route, 'params.scrollToTop') &&
|
||||
_routeName === ROUTES.TABBAR.HOME
|
||||
) {
|
||||
if (!!get(route, 'params.scrollToTop') && _routeName === ROUTES.TABBAR.HOME) {
|
||||
route.params.scrollToTop();
|
||||
}
|
||||
|
||||
@ -68,7 +63,7 @@ const BottomTabBarView = ({
|
||||
tintColor: activeTintColor,
|
||||
})}
|
||||
key={route}
|
||||
disabled={route.routeName === ROUTES.TABBAR.POSTBUTTON}
|
||||
disabled={route.routeName === ROUTES.TABBAR.POST_BUTTON}
|
||||
/>
|
||||
))}
|
||||
</TabBar>
|
||||
|
@ -119,11 +119,12 @@ export default EStyleSheet.create({
|
||||
},
|
||||
scrollContainer: {
|
||||
flex: 1,
|
||||
backgroundColor: '$pureWhite',
|
||||
},
|
||||
popoverDetails: {
|
||||
flexDirection: 'row',
|
||||
height: 130,
|
||||
width: '$deviceWidth /2',
|
||||
width: '$deviceWidth / 2',
|
||||
borderRadius: 20,
|
||||
paddingHorizontal: 26,
|
||||
backgroundColor: '$primaryBackgroundColor',
|
||||
|
@ -32,7 +32,7 @@ export default {
|
||||
HOME: `Home${TABBAR_SUFFIX}`,
|
||||
NOTIFICATION: `Notification${TABBAR_SUFFIX}`,
|
||||
POINTS: `Points${TABBAR_SUFFIX}`,
|
||||
POSTBUTTON: `PostButton${TABBAR_SUFFIX}`,
|
||||
POST_BUTTON: `PostButton${TABBAR_SUFFIX}`,
|
||||
PROFILE: `Profile${TABBAR_SUFFIX}`,
|
||||
},
|
||||
MODAL: {
|
||||
|
@ -34,7 +34,7 @@ const BaseNavigator = createBottomTabNavigator(
|
||||
),
|
||||
}),
|
||||
},
|
||||
[ROUTES.TABBAR.POSTBUTTON]: {
|
||||
[ROUTES.TABBAR.POST_BUTTON]: {
|
||||
screen: () => null,
|
||||
navigationOptions: {
|
||||
tabBarIcon: ({ tintColor }) => <PostButton />,
|
||||
|
Loading…
Reference in New Issue
Block a user