mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 16:34:54 +00:00
17 lines
534 B
TypeScript
17 lines
534 B
TypeScript
import TabletChoresPage from "@/components/pages/(tablet_pages)/chores/TabletChoresPage";
|
|
import ToDosPage from "@/components/pages/todos/ToDosPage";
|
|
import {ToDosContextProvider} from "@/contexts/ToDosContext";
|
|
import * as Device from "expo-device";
|
|
|
|
export default function Screen() {
|
|
return (
|
|
<ToDosContextProvider>
|
|
{Device.deviceType === Device.DeviceType.TABLET ? (
|
|
<TabletChoresPage/>
|
|
) : (
|
|
<ToDosPage/>
|
|
)}
|
|
</ToDosContextProvider>
|
|
);
|
|
}
|