import type { ReactNode } from "react"; import { Platform, Pressable, View } from "react-native"; import { useSafeAreaInsets } from "react-native-safe-area-context"; import { SymbolView } from "../../components/AppSymbol"; /** * Android-only wrapper that overlays a bottom-right new-task FAB on a thread * list. Other platforms render children unchanged. */ export function AndroidHomeFabLayout(props: { readonly onStartNewTask: () => void; readonly children: ReactNode; }) { if (Platform.OS !== "android") { return <>{props.children}; } return ; } function AndroidHomeFab(props: { readonly onStartNewTask: () => void; readonly children: ReactNode; }) { const insets = useSafeAreaInsets(); return ( {props.children} ); }