Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

814 B
Raw Blame
import { StyleSheet, View } from 'react-native';
import { MobileHome } from '@/session/HomeSurface';
import { SessionHeaderNativeBlur } from '@/session/SessionHeaderNativeControls';
import { useHomeMode } from '@/session/useHomeMode';
import { useOptionalHeaderHeight } from '@/session/useOptionalHeaderHeight';

/** One home, as on desktop: teammates are the section at the top of the task list. */
export default function HomeScreen() {
  const navigation = useHomeMode();
  const headerHeight = useOptionalHeaderHeight();
  // The teammate section's stored fold is part of the first frame.
  if (!navigation.hydrated) return null;
  return <View style={styles.home}>
    <MobileHome />
    <SessionHeaderNativeBlur height={headerHeight} />
  </View>;
}

const styles = StyleSheet.create({ home: { flex: 1 } });