fix: bug
This commit is contained in:
parent
38d90e2161
commit
6e0da4f887
|
|
@ -8,6 +8,7 @@ import Animated, { Easing, useAnimatedStyle, useSharedValue, withRepeat, withTim
|
|||
|
||||
import { router } from 'expo-router'
|
||||
import { IOS_UNIVERSAL_LINK } from '@/app.constants'
|
||||
import { FlashList } from '@shopify/flash-list'
|
||||
import { screenHeight, screenWidth } from '@/utils'
|
||||
import { cn } from '@/utils/cn'
|
||||
import { useAuth } from '@/hooks/core/use-auth'
|
||||
|
|
@ -644,12 +645,11 @@ export default function Sync() {
|
|||
|
||||
<FilterSection activeTab={activeTab} onChange={setActiveTab} />
|
||||
|
||||
<FlatList
|
||||
<FlashList
|
||||
data={galleryItems}
|
||||
renderItem={renderGridItem}
|
||||
keyExtractor={(item) => item.id}
|
||||
numColumns={3}
|
||||
columnWrapperStyle={{ gap: 12 }}
|
||||
contentContainerStyle={{ marginTop: 12, paddingBottom: 200 }}
|
||||
showsVerticalScrollIndicator={false}
|
||||
refreshControl={<RefreshControl refreshing={refreshing} onRefresh={handleRefresh} tintColor="#FFE500" colors={['#FFE500']} />}
|
||||
|
|
|
|||
Loading…
Reference in New Issue