This commit is contained in:
Fredrik Burmester
2024-08-07 18:28:23 +02:00
parent b7e37253ca
commit c985acb9cd
2 changed files with 1 additions and 12 deletions

View File

@@ -1,5 +1,4 @@
import { Text } from "@/components/common/Text";
import { EpisodeCard } from "@/components/downloads/EpisodeCard";
import { MovieCard } from "@/components/downloads/MovieCard";
import { SeriesCard } from "@/components/downloads/SeriesCard";
import { BaseItemDto } from "@jellyfin/sdk/lib/generated-client/models";
@@ -12,7 +11,6 @@ import {
TouchableOpacity,
View,
} from "react-native";
import * as FileSystem from "expo-file-system";
import { useAtom } from "jotai";
import { runningProcesses } from "@/utils/atoms/downloads";
import { router } from "expo-router";

View File

@@ -6,17 +6,12 @@ import { useEffect, useRef } from "react";
import "react-native-reanimated";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { Provider as JotaiProvider, useAtom } from "jotai";
import { Provider as JotaiProvider } from "jotai";
import { JellyfinProvider } from "@/providers/JellyfinProvider";
import { TouchableOpacity } from "react-native";
import Feather from "@expo/vector-icons/Feather";
import { StatusBar } from "expo-status-bar";
import { Ionicons } from "@expo/vector-icons";
import { View } from "react-native";
import { useSafeAreaInsets } from "react-native-safe-area-context";
import { Text } from "@/components/common/Text";
import { runningProcesses } from "@/utils/atoms/downloads";
// Prevent the splash screen from auto-hiding before asset loading is complete.
SplashScreen.preventAutoHideAsync();
@@ -50,10 +45,6 @@ export default function RootLayout() {
}
}, [loaded]);
const insets = useSafeAreaInsets();
const [process] = useAtom(runningProcesses);
if (!loaded) {
return null;
}