From 159ebbae45145087f7f2a9a620c6c9000ef9a766 Mon Sep 17 00:00:00 2001 From: km2025 Date: Wed, 7 Jan 2026 14:45:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=20VideoBox=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=EF=BC=8C=E6=94=AF=E6=8C=81=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E8=A7=86=E9=A2=91=E6=92=AD=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- @share/components/Video.tsx | 34 ++++++++++++++++++++++------------ app/(tabs)/explore.tsx | 7 +------ ble/hooks/useBleExplorer.ts | 10 +++++++--- bun.lock | 1 - 4 files changed, 30 insertions(+), 22 deletions(-) diff --git a/@share/components/Video.tsx b/@share/components/Video.tsx index 0c53b57..1db1c10 100644 --- a/@share/components/Video.tsx +++ b/@share/components/Video.tsx @@ -80,21 +80,31 @@ const VideoBox = ({ url, needWeb = true, width = 256, style, ...videoProps }: Pr const isLocal = !url.startsWith('http://') && !url.startsWith('https://') const isImageFile = isImg(url) - if (isLocal && !isImageFile) { + if (isLocal) { + if (!isImageFile) { + return ( +