diff --git a/components/Subjects.js b/components/Subjects.js index 3e6493c..b1bf03c 100644 --- a/components/Subjects.js +++ b/components/Subjects.js @@ -36,7 +36,7 @@ function Subjects({ theme, subjects, addSubject, removeSubject }) { style={ [ style.card, - {marginBottom: idx === subjects.length - 1 ? 12 : 0 } + {marginBottom: idx === subjects.length - 1 ? 80 : 0 } ] } > diff --git a/components/timetable/HomeScreen.js b/components/timetable/HomeScreen.js index ca4a1ba..ee64d6e 100644 --- a/components/timetable/HomeScreen.js +++ b/components/timetable/HomeScreen.js @@ -10,13 +10,22 @@ import { import { View, - StyleSheet + StyleSheet, + ScrollView } from "react-native"; function HomeScreen({ theme, timetable, subjects, navigation, days }) { - return (<> + return ( {timetable.map((day, dayIdx) => ( - + {day.map((cls, idx) => { @@ -37,7 +46,7 @@ function HomeScreen({ theme, timetable, subjects, navigation, days }) { ))} - ); + ); } HomeScreen.propTypes = {