mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 16:34:54 +00:00
fixed chores page tablet
This commit is contained in:
@ -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>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@ -31,6 +31,7 @@ const TabletContainer: React.FC<TabletContainerProps> = ({
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
backgroundColor: "white",
|
||||
width: width,
|
||||
flex: 1,
|
||||
},
|
||||
calendarContainer: {
|
||||
|
||||
Reference in New Issue
Block a user