import {SafeAreaView} from "react-native-safe-area-context"; import {Button, Text, View} from "react-native-ui-lib"; import React from "react"; import {useCalSync} from "@/hooks/useCalSync"; import GoogleIcon from "@/assets/svgs/GoogleIcon"; import AppleIcon from "@/assets/svgs/AppleIcon"; import OutlookIcon from "@/assets/svgs/OutlookIcon"; import {useAuthContext} from "@/contexts/AuthContext"; import {StyleSheet} from "react-native"; export default function Screen() { const {profileData, setRedirectOverride} = useAuthContext() const {handleStartGoogleSignIn, handleAppleSignIn, handleMicrosoftSignIn} = useCalSync() const hasSomeCalendarsSynced = !!profileData?.appleAccounts || !!profileData?.microsoftAccounts || !!profileData?.googleAccounts return ( Let's get started! Add your calendar below to sync events to your Cally calendar {!profileData?.googleAccounts && (