Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
5 changes: 3 additions & 2 deletions App.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const Tab = createBottomTabNavigator();
const Stack = createNativeStackNavigator();

function Tabs() {

const { theme } = useTheme();
return (
<Tab.Navigator
Expand All @@ -37,7 +38,7 @@ function Tabs() {
},
})}
>
<Tab.Screen name="Home" component={HomeScreen} />
<Tab.Screen name="HOME" component={HomeScreen} />
<Tab.Screen name="Expenses" component={ExpenseListScreen} />
<Tab.Screen name="Analytics" component={AnalyticsScreen} />
<Tab.Screen name="Settings" component={SettingsScreen} />
Expand Down Expand Up @@ -69,4 +70,4 @@ export default function App() {
</ThemeProvider>
</GestureHandlerRootView>
);
}
}
1 change: 1 addition & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I am making an app that tracks your daily expenses , You can add the expenses into categories . This ensures that where you have spend and how much you have spend also this ensures your daily expenses to control the expenses .
2 changes: 1 addition & 1 deletion screens/HomeScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions screens/SettingsScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { useTheme } from '../context/ThemeContext';
import { clearExpenses, getExpenses } from '../utils/storage';
import tw from 'twrnc';


function toCSV(rows) {
if (!rows || rows.length === 0) return 'id,title,amount,category,date\n';
const header = Object.keys(rows[0]).join(',');
Expand Down