This commit is contained in:
@@ -93,7 +93,7 @@ function AdminTabs() {
|
|||||||
<>
|
<>
|
||||||
<Tab.Navigator
|
<Tab.Navigator
|
||||||
screenOptions={{
|
screenOptions={{
|
||||||
headerStyle: { backgroundColor: colors.secondary },
|
headerStyle: { backgroundColor: isDark ? colors.secondary : "#ffffff" },
|
||||||
headerTintColor: colors.textWhite,
|
headerTintColor: colors.textWhite,
|
||||||
headerRight: () => (
|
headerRight: () => (
|
||||||
<View
|
<View
|
||||||
@@ -157,7 +157,7 @@ function AdminTabs() {
|
|||||||
</View>
|
</View>
|
||||||
),
|
),
|
||||||
tabBarStyle: {
|
tabBarStyle: {
|
||||||
backgroundColor: colors.secondary,
|
backgroundColor: isDark ? colors.secondary : "#ffffff",
|
||||||
borderTopColor: colors.border,
|
borderTopColor: colors.border,
|
||||||
borderTopWidth: 1,
|
borderTopWidth: 1,
|
||||||
},
|
},
|
||||||
@@ -339,12 +339,12 @@ function AdminTabs() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default function AdminNavigator() {
|
export default function AdminNavigator() {
|
||||||
const { colors } = useTheme();
|
const { colors, isDark } = useTheme();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack.Navigator
|
<Stack.Navigator
|
||||||
screenOptions={{
|
screenOptions={{
|
||||||
headerStyle: { backgroundColor: colors.secondary },
|
headerStyle: { backgroundColor: isDark ? colors.secondary : "#ffffff" },
|
||||||
headerTintColor: colors.textWhite,
|
headerTintColor: colors.textWhite,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user