Resolve "Add Category Modal"

This commit is contained in:
Thomas Schleicher 2024-01-03 17:31:59 +00:00
parent d2837c12b3
commit 9204d6f235
10 changed files with 297 additions and 21 deletions

View file

@ -1,16 +1,10 @@
import { Stack } from "expo-router";
import { useTheme } from "../../contexts/ThemeContext";
export default function _Layout() {
const { colors } = useTheme();
return (
<Stack initialRouteName="index" screenOptions={{
headerShown: false
}}>
<Stack initialRouteName="index" screenOptions={{headerShown: false}}>
<Stack.Screen name="index"/>
<Stack.Screen
name="addCategory"
options={{presentation: "modal"}}/>
<Stack.Screen name="addCategory" options={{presentation: "modal"}}/>
</Stack>
);
}