[READ ONLY MIRROR] Open Source TikTok alternative built on AT Protocol github.com/sprksocial/client
flutter atproto video dart
10
fork

Configure Feed

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

Perfil arrumado

C3B 07697a16 30cd089b

+4 -4
+4 -3
app/(screens)/ProfileFeed.tsx
··· 6 6 View, 7 7 Dimensions, 8 8 TouchableOpacity, 9 + Platform, 9 10 } from 'react-native'; 10 11 import { ThemedView } from '@/components/ThemedView'; 11 12 import VideoScreen from '@/components/Video/VideoScreen'; ··· 48 49 viewAreaCoveragePercentThreshold: 95, 49 50 }); 50 51 51 - const { height: windowHeight } = Dimensions.get('screen'); 52 + const { height: windowHeight } = Dimensions.get('window'); 52 53 const TAB_BAR_HEIGHT = 0; 53 54 const availableHeight = windowHeight - TAB_BAR_HEIGHT; 54 55 ··· 60 61 61 62 return ( 62 63 <> 63 - <Stack.Screen options={{ headerShown: false }} /> 64 + <Stack.Screen options={{ headerShown: false, animation: 'slide_from_right' }} /> 64 65 <ThemedView style={styles.root}> 65 66 <TouchableOpacity 66 67 onPress={() => router.back()} ··· 90 91 removeClippedSubviews 91 92 scrollEventThrottle={16} 92 93 style={styles.flatList} 93 - contentContainerStyle={styles.flatListContent} 94 + contentContainerStyle={Platform.OS === 'android' ? { paddingBottom: TAB_BAR_HEIGHT } : undefined} 94 95 getItemLayout={getItemLayout} 95 96 initialScrollIndex={initialIndex} 96 97 />
-1
app/(tabs)/index.tsx
··· 5 5 View, 6 6 Dimensions, 7 7 Platform, 8 - SafeAreaView, 9 8 } from 'react-native'; 10 9 import { ThemedView } from '@/components/ThemedView'; 11 10 import VideoScreen from '@/components/Video/VideoScreen';