From b9a91d03df2f5a04cdfb64c277e8ce878cf8b53b Mon Sep 17 00:00:00 2001 From: chrisk325 Date: Sun, 1 Mar 2026 16:12:13 +0530 Subject: [PATCH] fix for low quality trailers --- src/services/youtubeExtractor.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/youtubeExtractor.ts b/src/services/youtubeExtractor.ts index 393876cf8..8e34d879b 100644 --- a/src/services/youtubeExtractor.ts +++ b/src/services/youtubeExtractor.ts @@ -265,8 +265,8 @@ async function writeDashManifestToFile( durationSeconds?: number ): Promise { try { - // Lazy import to keep this module usable in non-RN environments (e.g. tests) - const FileSystem = await import('expo-file-system'); + // Use the same import path as the rest of the project + const FileSystem = await import('expo-file-system/legacy'); const cacheDir = FileSystem.cacheDirectory; if (!cacheDir) return null;