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