Skip to content

Commit

Permalink
final commit
Browse files Browse the repository at this point in the history
  • Loading branch information
indresh149 committed Aug 19, 2023
1 parent ce28d05 commit d3936e0
Show file tree
Hide file tree
Showing 11 changed files with 1,028 additions and 17 deletions.
8 changes: 7 additions & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,16 @@
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#ffffff"
}
},
"package": "com.indresh149.expensetracker"
},
"web": {
"favicon": "./assets/favicon.png"
},
"extra": {
"eas": {
"projectId": "30868ac6-0d1e-41eb-a46b-8ff4e5b055dd"
}
}
}
}
6 changes: 3 additions & 3 deletions components/ExpensesOutput/ExpensesOutput.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import ExpensesSummary from './ExpensesSummary';



function ExpensesOutput({ expenses, expensesPeriod ,fallbackText}) {
function ExpensesOutput({ expenses, expensesPeriod, fallbackText }) {
let content = <Text style={styles.infoText}>{fallbackText}</Text>;

if (expenses.length > 0) {
Expand Down Expand Up @@ -41,13 +41,13 @@ const styles = StyleSheet.create({
flex: 1,
paddingHorizontal: 24,
paddingTop: 24,
paddingBottom:0,
paddingBottom: 0,
backgroundColor: GlobalStyles.colors.primary700
},
infoText: {
color: 'white',
fontSize: 16,
textAlign: 'center',
marginTop:32,
marginTop: 32,
}
});
21 changes: 21 additions & 0 deletions config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import firebase from 'firebase/compat/app';
import 'firebase/compat/auth';
import 'firebase/compat/firestore';


const firebaseConfig = {
apiKey: "AIzaSyBdFaXL4Cl8EMJR2tgYgy1do2Fxkvbnnug",
authDomain: "expensetracker-1668a.firebaseapp.com",
databaseURL: "https://expensetracker-1668a-default-rtdb.firebaseio.com",
projectId: "expensetracker-1668a",
storageBucket: "expensetracker-1668a.appspot.com",
messagingSenderId: "736865415128",
appId: "1:736865415128:web:8a2bf2a52f5ee039758cad",
measurementId: "G-KD7382GHXF"
};

if (!firebase.apps.length) {
firebase.initializeApp(firebaseConfig);
}

export { firebase };
28 changes: 28 additions & 0 deletions eas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"cli": {
"version": ">= 3.8.1"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal",
"ios": {
"resourceClass": "m-medium"
}
},
"preview": {
"distribution": "internal",
"ios": {
"resourceClass": "m-medium"
}
},
"production": {
"ios": {
"resourceClass": "m-medium"
}
}
},
"submit": {
"production": {}
}
}
Loading

0 comments on commit d3936e0

Please sign in to comment.