Live video on the AT Protocol
79
fork

Configure Feed

Select the types of activity you want to include in your feed.

at issue-705-2 13 lines 432 B view raw
1import { useNavigation } from "@react-navigation/native"; 2import { useBrandingAsset } from "@streamplace/components"; 3import { useEffect } from "react"; 4 5export default function useTitle(user: string) { 6 const navigation = useNavigation(); 7 const title = useBrandingAsset("siteTitle")?.data || "Streamplace"; 8 useEffect(() => { 9 navigation.setOptions({ 10 title: `@${user} on ${title}`, 11 }); 12 }, [user, navigation]); 13}