mirror of
https://github.com/Jellify-Music/App.git
synced 2026-01-23 19:48:44 -06:00
Made nav bar color match background
This commit is contained in:
@@ -2,19 +2,23 @@ import { createNativeStackNavigator } from "@react-navigation/native-stack";
|
||||
import Player from "./Player/stack";
|
||||
import { Tabs } from "./tabs";
|
||||
import { StackParamList } from "./types";
|
||||
import { useTheme } from 'tamagui'
|
||||
import DetailsScreen from "./ItemDetail/screen";
|
||||
|
||||
export default function Navigation(): React.JSX.Element {
|
||||
|
||||
const RootStack = createNativeStackNavigator<StackParamList>()
|
||||
|
||||
|
||||
const theme = useTheme()
|
||||
|
||||
return (
|
||||
<RootStack.Navigator>
|
||||
<RootStack.Screen
|
||||
name="Tabs"
|
||||
component={Tabs}
|
||||
options={{
|
||||
headerShown: false
|
||||
headerShown: false,
|
||||
navigationBarColor: theme.background.val,
|
||||
}}
|
||||
/>
|
||||
<RootStack.Screen
|
||||
|
||||
Reference in New Issue
Block a user