import type { ReactElement } from 'react'; import { Stack } from 'expo-router'; import { RealtimeProvider } from '@/ws'; import { useTheme } from '@/theme'; import { usePush } from '@/services/usePush'; // Authenticated area: everything here has a live realtime connection. export default function AppLayout(): ReactElement { const { colors } = useTheme(); usePush(); return ( ); }