feat: 4K Requests (#559)

This commit is contained in:
sct
2021-01-11 23:42:33 +09:00
committed by GitHub
parent 79629645aa
commit 6b2df24a2e
30 changed files with 1384 additions and 467 deletions

View File

@@ -8,6 +8,7 @@ interface RequestModalProps {
show: boolean;
type: 'movie' | 'tv';
tmdbId: number;
is4k?: boolean;
onComplete?: (newStatus: MediaStatus) => void;
onError?: (error: string) => void;
onCancel?: () => void;
@@ -18,6 +19,7 @@ const RequestModal: React.FC<RequestModalProps> = ({
type,
show,
tmdbId,
is4k,
onComplete,
onUpdating,
onCancel,
@@ -38,6 +40,7 @@ const RequestModal: React.FC<RequestModalProps> = ({
onCancel={onCancel}
tmdbId={tmdbId}
onUpdating={onUpdating}
is4k={is4k}
/>
</Transition>
);
@@ -58,6 +61,7 @@ const RequestModal: React.FC<RequestModalProps> = ({
onCancel={onCancel}
tmdbId={tmdbId}
onUpdating={onUpdating}
is4k={is4k}
/>
</Transition>
);