mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 00:24:53 +00:00
added chores page
This commit is contained in:
@ -1,18 +1,18 @@
|
||||
import React from "react";
|
||||
import CalendarPage from "@/components/pages/calendar/CalendarPage";
|
||||
import { Constants } from "react-native-ui-lib";
|
||||
import { View } from "react-native-ui-lib";
|
||||
import TabletCalendarPage from "@/components/pages/(tablet_pages)/calendar/TabletCalendarPage";
|
||||
import { DeviceType } from "expo-device";
|
||||
import * as Device from "expo-device";
|
||||
|
||||
export default function Screen() {
|
||||
return (
|
||||
<>
|
||||
<View style={{ backgroundColor: "white" }}>
|
||||
{Device.deviceType === DeviceType.TABLET ? (
|
||||
<TabletCalendarPage />
|
||||
) : (
|
||||
<CalendarPage />
|
||||
)}
|
||||
</>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user