From 1d3daa49ec6d565a57dd38b7ae7a613c93dedaf3 Mon Sep 17 00:00:00 2001
From: ivic00 <102467664+ivic00@users.noreply.github.com>
Date: Sun, 10 Nov 2024 14:07:27 +0100
Subject: [PATCH] fixed chores page tablet
---
.../pages/(tablet_pages)/chores/TabletChoresPage.tsx | 8 +++++---
.../(tablet_pages)/tablet_components/TabletContainer.tsx | 1 +
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/components/pages/(tablet_pages)/chores/TabletChoresPage.tsx b/components/pages/(tablet_pages)/chores/TabletChoresPage.tsx
index c05b5d4..4066a57 100644
--- a/components/pages/(tablet_pages)/chores/TabletChoresPage.tsx
+++ b/components/pages/(tablet_pages)/chores/TabletChoresPage.tsx
@@ -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 (
-
- TabletChoresPage
-
+
+
+
);
};
diff --git a/components/pages/(tablet_pages)/tablet_components/TabletContainer.tsx b/components/pages/(tablet_pages)/tablet_components/TabletContainer.tsx
index b00bdd0..c6aa220 100644
--- a/components/pages/(tablet_pages)/tablet_components/TabletContainer.tsx
+++ b/components/pages/(tablet_pages)/tablet_components/TabletContainer.tsx
@@ -31,6 +31,7 @@ const TabletContainer: React.FC = ({
const styles = StyleSheet.create({
container: {
backgroundColor: "white",
+ width: width,
flex: 1,
},
calendarContainer: {