mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 13:13:25 +00:00
feat: mp4 downloads
This commit is contained in:
@@ -9,6 +9,7 @@ import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
||||
import { TamaguiProvider, Theme, useTheme } from "tamagui";
|
||||
import tamaguiConfig from "tamagui.config";
|
||||
|
||||
import { DownloadManagerProvider } from "~/hooks/DownloadManagerContext";
|
||||
import { useThemeStore } from "~/stores/theme";
|
||||
// @ts-expect-error - Without named import it causes an infinite loop
|
||||
import _styles from "../../tamagui-web.css";
|
||||
@@ -59,9 +60,11 @@ export default function RootLayout() {
|
||||
}
|
||||
|
||||
return (
|
||||
<GestureHandlerRootView style={{ flex: 1 }}>
|
||||
<RootLayoutNav />
|
||||
</GestureHandlerRootView>
|
||||
<DownloadManagerProvider>
|
||||
<GestureHandlerRootView style={{ flex: 1 }}>
|
||||
<RootLayoutNav />
|
||||
</GestureHandlerRootView>
|
||||
</DownloadManagerProvider>
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user