From 373d4ca3b11194fc5845b438f89e669392adefcd Mon Sep 17 00:00:00 2001 From: sarendsen Date: Mon, 6 Jan 2025 15:10:59 +0100 Subject: [PATCH] wip --- app/(auth)/(tabs)/(home)/index.tsx | 3 +-- packages/expo-screen-orientation.ts | 1 - packages/expo-screen-orientation.tv.ts | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/(auth)/(tabs)/(home)/index.tsx b/app/(auth)/(tabs)/(home)/index.tsx index 2f74e55e..76964325 100644 --- a/app/(auth)/(tabs)/(home)/index.tsx +++ b/app/(auth)/(tabs)/(home)/index.tsx @@ -69,9 +69,8 @@ export default function index() { const insets = useSafeAreaInsets(); - const { downloadedFiles, cleanCacheDirectory } = useDownload(); - if (!Platform.isTV) { + const { downloadedFiles, cleanCacheDirectory } = useDownload(); useEffect(() => { const hasDownloads = downloadedFiles && downloadedFiles.length > 0; navigation.setOptions({ diff --git a/packages/expo-screen-orientation.ts b/packages/expo-screen-orientation.ts index 5978df82..7b29bfe1 100644 --- a/packages/expo-screen-orientation.ts +++ b/packages/expo-screen-orientation.ts @@ -1,2 +1 @@ export * from "expo-screen-orientation"; -console.log("LOADED"); diff --git a/packages/expo-screen-orientation.tv.ts b/packages/expo-screen-orientation.tv.ts index 8bd1d5ca..b994b846 100644 --- a/packages/expo-screen-orientation.tv.ts +++ b/packages/expo-screen-orientation.tv.ts @@ -1,5 +1,3 @@ -// export { Orientation, OrientationLock } from "expo-screen-orientation"; -console.log("NOT"); export enum Orientation { /** * An unknown screen orientation. For example, the device is flat, perhaps on a table.