mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 08:24:55 +00:00
fixed chores page tablet
This commit is contained in:
@ -1,6 +1,8 @@
|
|||||||
import React, { useEffect } from 'react';
|
import React, { useEffect } from 'react';
|
||||||
import { View, Text } from 'react-native';
|
import { View, Text } from 'react-native';
|
||||||
import * as ScreenOrientation from 'expo-screen-orientation';
|
import * as ScreenOrientation from 'expo-screen-orientation';
|
||||||
|
import TabletContainer from '../tablet_components/TabletContainer';
|
||||||
|
import ToDosPage from '../../todos/ToDosPage';
|
||||||
|
|
||||||
const TabletChoresPage = () => {
|
const TabletChoresPage = () => {
|
||||||
// Function to lock the screen orientation to landscape
|
// Function to lock the screen orientation to landscape
|
||||||
@ -18,9 +20,9 @@ const TabletChoresPage = () => {
|
|||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View>
|
<TabletContainer>
|
||||||
<Text>TabletChoresPage</Text>
|
<ToDosPage />
|
||||||
</View>
|
</TabletContainer>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -31,6 +31,7 @@ const TabletContainer: React.FC<TabletContainerProps> = ({
|
|||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
container: {
|
container: {
|
||||||
backgroundColor: "white",
|
backgroundColor: "white",
|
||||||
|
width: width,
|
||||||
flex: 1,
|
flex: 1,
|
||||||
},
|
},
|
||||||
calendarContainer: {
|
calendarContainer: {
|
||||||
|
|||||||
Reference in New Issue
Block a user