From 0ee481dc13b4bfd5fce41879b5fb6e9c13eb90a0 Mon Sep 17 00:00:00 2001 From: imeepos Date: Fri, 26 Dec 2025 18:36:50 +0800 Subject: [PATCH] fix: bug --- app/(tabs)/index.tsx | 1 + bun.lock | 4 ++-- package.json | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx index ddd3317..5b53fa0 100644 --- a/app/(tabs)/index.tsx +++ b/app/(tabs)/index.tsx @@ -708,6 +708,7 @@ export default function Sync() { contentContainerStyle={{ marginTop: 12, paddingBottom: 200 }} data={galleryItems} drawDistance={1200} + // @ts-ignore estimatedItemSize={itemWidth} extraData={selectedItem?.id} keyExtractor={(item) => item.id} diff --git a/bun.lock b/bun.lock index 20eaadd..3b9653d 100644 --- a/bun.lock +++ b/bun.lock @@ -15,7 +15,7 @@ "@repo/core": "1.0.1", "@repo/sdk": "1.0.1", "@sentry/react-native": "^7.8.0", - "@shopify/flash-list": "2.0.2", + "@shopify/flash-list": "^2.2.0", "@stripe/react-stripe-js": "^5.4.1", "@stripe/stripe-js": "^8.5.3", "@stripe/stripe-react-native": "^0.57.0", @@ -645,7 +645,7 @@ "@sentry/types": ["@sentry/types@10.30.0", "", { "dependencies": { "@sentry/core": "10.30.0" } }, "sha512-tSyzG/JunWjbuQDDwP3DKgt8KP23ZSuNUEudMSv2jCF/956o8ksamPeidCTSVMXoEyTt5tvimWNeNvUFIFq3EA=="], - "@shopify/flash-list": ["@shopify/flash-list@2.0.2", "", { "dependencies": { "tslib": "2.8.1" }, "peerDependencies": { "@babel/runtime": "*", "react": "*", "react-native": "*" } }, "sha512-zhlrhA9eiuEzja4wxVvotgXHtqd3qsYbXkQ3rsBfOgbFA9BVeErpDE/yEwtlIviRGEqpuFj/oU5owD6ByaNX+w=="], + "@shopify/flash-list": ["@shopify/flash-list@2.2.0", "", { "peerDependencies": { "@babel/runtime": "*", "react": "*", "react-native": "*" } }, "sha512-mL61IofcfBNRZ/qazIf+pghGULkcZUQ7EZNldH1JBbIjtDb25ADSiQrt62ZTnRz0H5+bPFEZUmN9+WChHzX8pw=="], "@sinclair/typebox": ["@sinclair/typebox@0.27.8", "", {}, "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA=="], diff --git a/package.json b/package.json index 7995361..d661a29 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "@react-navigation/elements": "^2.6.3", "@react-navigation/native": "^7.1.8", "@sentry/react-native": "^7.8.0", - "@shopify/flash-list": "2.0.2", + "@shopify/flash-list": "^2.2.0", "@stripe/react-stripe-js": "^5.4.1", "@stripe/stripe-js": "^8.5.3", "@stripe/stripe-react-native": "^0.57.0", @@ -129,4 +129,4 @@ "tailwindcss": "3.4.4", "typescript": "~5.9.2" } -} +} \ No newline at end of file