changed navigation style

master
Netcup Gituser 2023-12-11 15:34:34 +01:00
parent 51b02065ee
commit e62f4802e2
1 changed files with 6 additions and 6 deletions

View File

@ -38,8 +38,6 @@ export default function Navigation() {
const currentUser =
reduxStore.getState().appVariables.preferences.selectedAccount;
console.log('NAVIGATION', currentUser);
return (
<Stack.Navigator
screenOptions={{
@ -116,11 +114,12 @@ function CustomTabBar(props: BottomTabBarProps) {
<View
style={{
flexDirection: 'row',
margin: 10,
padding: 6,
backgroundColor: currentTheme.backgroundDark300,
borderRadius: 20,
position: 'absolute',
borderTopLeftRadius: 20,
borderTopRightRadius: 20,
zIndex: 100,
position: 'absolute',
bottom: 0,
borderColor: currentTheme.backgroundDark300,
borderWidth: 3,
@ -149,7 +148,7 @@ function CustomTabBar(props: BottomTabBarProps) {
const gradientColors = isFocused
? [currentTheme.secondary200, currentTheme.primary400]
: [currentTheme.backgroundDark300, currentTheme.backgroundDark300];
: [currentTheme.backgroundDark400, currentTheme.backgroundDark400];
return (
<MyTouchableOpacity
@ -161,6 +160,7 @@ function CustomTabBar(props: BottomTabBarProps) {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
backgroundColor: currentTheme.backgroundDark400,
borderRadius: 20,
marginRight: state.routes.length - 1 !== index ? 4 : 0,
}}>