this repo has no description
0
fork

Configure Feed

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

fix jank scrolling, rename timeline

+5 -4
+2 -2
apps/expo/src/app/(tabs)/_layout.tsx
··· 26 26 /> 27 27 <Tabs screenOptions={{ headerShown: false }}> 28 28 <Tabs.Screen 29 - name="timeline" 29 + name="skyline" 30 30 options={{ 31 - title: "Timeline", 31 + title: "Skyline", 32 32 tabBarShowLabel: false, 33 33 tabBarIcon({ focused }) { 34 34 return <Cloudy color={focused ? "#505050" : "#9b9b9b"} />;
apps/expo/src/app/(tabs)/timeline.tsx apps/expo/src/app/(tabs)/skyline.tsx
+1 -1
apps/expo/src/app/_layout.tsx
··· 101 101 router.replace("/login"); 102 102 } else if (did && (inAuthGroup || atRoot)) { 103 103 // Redirect away from the sign-in page. 104 - router.replace("/timeline"); 104 + router.replace("/skyline"); 105 105 } 106 106 }, [did, segments, router, loading]); 107 107
+2 -1
apps/expo/src/components/feed-post.tsx
··· 200 200 201 201 const ReplyParentAuthor = ({ uri }: { uri: string }) => { 202 202 const agent = useAuthedAgent(); 203 - const { data } = useQuery({ 203 + const { data, isLoading } = useQuery({ 204 204 queryKey: ["post", uri], 205 205 queryFn: async () => { 206 206 const thread = await agent.getPostThread({ ··· 214 214 throw new Error("invalid post"); 215 215 }, 216 216 }); 217 + if (isLoading) return <View className="h-[17px]" />; 217 218 if (!data) return null; 218 219 return ( 219 220 <Link