mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 16:33:26 +00:00
chore: format
This commit is contained in:
@@ -3,9 +3,11 @@
|
|||||||
import CheckIosCertificateModule from "./src/CheckIosCertificateModule";
|
import CheckIosCertificateModule from "./src/CheckIosCertificateModule";
|
||||||
|
|
||||||
interface CheckIosCertificateModule {
|
interface CheckIosCertificateModule {
|
||||||
isDevelopmentProvisioningProfile(): boolean;
|
isDevelopmentProvisioningProfile(): boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function isDevelopmentProvisioningProfile(): boolean {
|
export function isDevelopmentProvisioningProfile(): boolean {
|
||||||
return (CheckIosCertificateModule as CheckIosCertificateModule).isDevelopmentProvisioningProfile();
|
return (
|
||||||
|
CheckIosCertificateModule as CheckIosCertificateModule
|
||||||
|
).isDevelopmentProvisioningProfile();
|
||||||
}
|
}
|
||||||
|
@@ -7,19 +7,14 @@ import { MaterialCommunityIcons } from "@expo/vector-icons";
|
|||||||
import { isDevelopmentProvisioningProfile } from "modules/check-ios-certificate";
|
import { isDevelopmentProvisioningProfile } from "modules/check-ios-certificate";
|
||||||
import { useTheme, YStack } from "tamagui";
|
import { useTheme, YStack } from "tamagui";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import type { ScrapeMedia } from "@movie-web/provider-utils";
|
import type { ScrapeMedia } from "@movie-web/provider-utils";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import { DownloadItem } from "~/components/DownloadItem";
|
import { DownloadItem } from "~/components/DownloadItem";
|
||||||
import ScreenLayout from "~/components/layout/ScreenLayout";
|
import ScreenLayout from "~/components/layout/ScreenLayout";
|
||||||
import { MWButton } from "~/components/ui/Button";
|
import { MWButton } from "~/components/ui/Button";
|
||||||
import { useDownloadManager } from "~/hooks/DownloadManagerContext";
|
import { useDownloadManager } from "~/hooks/DownloadManagerContext";
|
||||||
import { usePlayerStore } from "~/stores/player/store";
|
import { usePlayerStore } from "~/stores/player/store";
|
||||||
|
|
||||||
|
|
||||||
const DownloadsScreen: React.FC = () => {
|
const DownloadsScreen: React.FC = () => {
|
||||||
const { startDownload, downloads } = useDownloadManager();
|
const { startDownload, downloads } = useDownloadManager();
|
||||||
const resetVideo = usePlayerStore((state) => state.resetVideo);
|
const resetVideo = usePlayerStore((state) => state.resetVideo);
|
||||||
|
Reference in New Issue
Block a user