fixed chores page tablet

This commit is contained in:
ivic00
2024-11-10 14:07:27 +01:00
parent 62ba53f116
commit 1d3daa49ec
2 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,8 @@
import React, { useEffect } from 'react';
import { View, Text } from 'react-native';
import * as ScreenOrientation from 'expo-screen-orientation';
import TabletContainer from '../tablet_components/TabletContainer';
import ToDosPage from '../../todos/ToDosPage';
const TabletChoresPage = () => {
// Function to lock the screen orientation to landscape
@ -18,9 +20,9 @@ const TabletChoresPage = () => {
}, []);
return (
<View>
<Text>TabletChoresPage</Text>
</View>
<TabletContainer>
<ToDosPage />
</TabletContainer>
);
};

View File

@ -31,6 +31,7 @@ const TabletContainer: React.FC<TabletContainerProps> = ({
const styles = StyleSheet.create({
container: {
backgroundColor: "white",
width: width,
flex: 1,
},
calendarContainer: {