diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..3c3629e64 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/App.js b/App.js index 1fed0daf7..9b86c3620 100644 --- a/App.js +++ b/App.js @@ -20,6 +20,7 @@ const Tab = createBottomTabNavigator(); const Stack = createNativeStackNavigator(); function Tabs() { + const { theme } = useTheme(); return ( - + @@ -69,4 +70,4 @@ export default function App() { ); -} +} \ No newline at end of file diff --git a/screens/HomeScreen.js b/screens/HomeScreen.js index f94ee9861..3d49af8d9 100644 --- a/screens/HomeScreen.js +++ b/screens/HomeScreen.js @@ -6,7 +6,7 @@ import { useExpenses } from '../context/ExpensesContext'; import { isThisMonth } from '../utils/dateRange'; import tw from 'twrnc'; -const categories = ['Food', 'Travel', 'Shopping', 'Bills', 'Others']; +const categories = ['Food', 'Travel', 'Shopping', 'Bills', 'Other']; export default function HomeScreen() { const nav = useNavigation();