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>
    );
}
