diff --git a/app/(auth)/_layout.tsx b/app/(auth)/_layout.tsx index feaef0a..262654b 100644 --- a/app/(auth)/_layout.tsx +++ b/app/(auth)/_layout.tsx @@ -158,6 +158,8 @@ export default function TabLayout() { return ( + {Device.deviceType === DeviceType.TABLET && isCalendarPage && + } {isCalendarPage && ( )} diff --git a/components/pages/calendar/DetailedCalendar.tsx b/components/pages/calendar/DetailedCalendar.tsx index 5cc7b35..b7e914c 100644 --- a/components/pages/calendar/DetailedCalendar.tsx +++ b/components/pages/calendar/DetailedCalendar.tsx @@ -10,6 +10,8 @@ import {useCalendarControls} from "@/components/pages/calendar/useCalendarContro import {EventCell} from "@/components/pages/calendar/EventCell"; import {isToday} from "date-fns"; import { View } from "react-native-ui-lib"; +import { DeviceType } from "expo-device"; +import * as Device from "expo-device" interface EventCalendarProps { calendarHeight: number; @@ -97,7 +99,7 @@ export const DetailedCalendar: React.FC = ({calendarHeight, {...bodyProps} renderEvent={renderEvent} /> - + {Device.deviceType === DeviceType.TABLET && } ); }; diff --git a/components/pages/calendar/MonthCalendar.tsx b/components/pages/calendar/MonthCalendar.tsx index e9b319a..90f5284 100644 --- a/components/pages/calendar/MonthCalendar.tsx +++ b/components/pages/calendar/MonthCalendar.tsx @@ -652,7 +652,7 @@ export const MonthCalendar: React.FC = React.memo( ampm // renderCustomDateForMonth={renderCustomDateForMonth} /> - {/**/} + {Device.deviceType === DeviceType.TABLET && } ); diff --git a/components/pages/todos/user-chores/UserChoresProgress.tsx b/components/pages/todos/user-chores/UserChoresProgress.tsx index 8cc04f3..c3bb793 100644 --- a/components/pages/todos/user-chores/UserChoresProgress.tsx +++ b/components/pages/todos/user-chores/UserChoresProgress.tsx @@ -31,13 +31,13 @@ const UserChoresProgress = ({ style={{fontFamily: "Poppins_400Regular", fontSize: 14.71}} color="#979797" > - Return to To Do's + Return to To Dos - Your To Do's Progress Report + Your To Dos Progress Report