mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 00:24:53 +00:00
Added react native big calendar patch
This commit is contained in:
@ -23,7 +23,7 @@ import NavToDosIcon from "@/assets/svgs/NavToDosIcon";
|
||||
import NavBrainDumpIcon from "@/assets/svgs/NavBrainDumpIcon";
|
||||
import NavCalendarIcon from "@/assets/svgs/NavCalendarIcon";
|
||||
import NavSettingsIcon from "@/assets/svgs/NavSettingsIcon";
|
||||
import { useAtom } from "jotai";
|
||||
import {useAtom, useSetAtom} from "jotai";
|
||||
import {
|
||||
settingsPageIndex,
|
||||
toDosPageIndex,
|
||||
@ -32,9 +32,9 @@ import {
|
||||
|
||||
export default function TabLayout() {
|
||||
const { mutateAsync: signOut } = useSignOut();
|
||||
const [pageIndex, setPageIndex] = useAtom(settingsPageIndex);
|
||||
const [userView, setUserView] = useAtom(userSettingsView);
|
||||
const [toDosIndex, setToDosIndex] = useAtom(toDosPageIndex);
|
||||
const setPageIndex = useSetAtom(settingsPageIndex);
|
||||
const setUserView = useSetAtom(userSettingsView);
|
||||
const setToDosIndex = useSetAtom(toDosPageIndex);
|
||||
|
||||
return (
|
||||
<Drawer
|
||||
@ -47,7 +47,6 @@ export default function TabLayout() {
|
||||
backgroundColor: "#f9f8f7",
|
||||
height: "100%",
|
||||
},
|
||||
drawerIcon: () => <MenuIcon />,
|
||||
}}
|
||||
drawerContent={(props) => {
|
||||
return (
|
||||
@ -234,7 +233,7 @@ export default function TabLayout() {
|
||||
name="todos"
|
||||
options={{
|
||||
drawerLabel: "To-Do",
|
||||
title: "To-Do's",
|
||||
title: "To-Dos",
|
||||
}}
|
||||
/>
|
||||
</Drawer>
|
||||
|
||||
Reference in New Issue
Block a user