Skip to content

Commit

Permalink
clearing naming conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveen-g09 committed Dec 27, 2023
1 parent f70643a commit a5baabb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/(tabs)/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function TabLayout() {
title: "Tasks",
tabBarIcon: ({ color }) => <TabBarIcon name="code" color={color} />,
headerRight: () => (
<Link href="/modal" asChild>
<Link href="/inbox" asChild>
<Pressable>
{({ pressed }) => (
<FontAwesome
Expand All @@ -46,7 +46,7 @@ export default function TabLayout() {
}}
/>
<Tabs.Screen
name="two"
name="logs"
options={{
title: "Logs",
tabBarIcon: ({ color }) => <TabBarIcon name="code" color={color} />,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion app/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function RootLayoutNav() {
<ThemeProvider value={colorScheme === "dark" ? DarkTheme : DefaultTheme}>
<Stack>
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
<Stack.Screen name="modal" options={{ presentation: "modal" }} />
<Stack.Screen name="inbox" options={{ presentation: "modal" }} />
</Stack>
</ThemeProvider>
);
Expand Down
2 changes: 1 addition & 1 deletion app/modal.tsx → app/inbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function ModalScreen() {
lightColor="#eee"
darkColor="rgba(255,255,255,0.1)"
/>
<EditScreenInfo path="app/modal.tsx" />
<EditScreenInfo path="app/inbox.tsx" />

{/* Use a light status bar on iOS to account for the black space above the modal */}
<StatusBar style={Platform.OS === "ios" ? "light" : "auto"} />
Expand Down

0 comments on commit a5baabb

Please sign in to comment.