import Ionicons from '@expo/vector-icons/Ionicons';
import { Redirect, Tabs } from 'expo-router';
import React from 'react';
import { useApp } from '@/src/app-context';
export default function TabLayout() {
const { ready, state, unreadCount } = useApp();
if (!ready) return null;
if (!state.session?.session) return ;
if (!state.deviceToken) return ;
return (
,
}}
/>
0 ? unreadCount : undefined,
tabBarIcon: ({ color, size }) => ,
}}
/>
,
}}
/>
);
}