fix: loading conditionals (#753)

This commit is contained in:
lostb1t
2025-06-07 13:19:32 +02:00
committed by GitHub
parent 68b5fe3599
commit 0a72396a16

View File

@@ -498,7 +498,7 @@ export default function page() {
return () => setIsMounted(false);
}, []);
if (itemStatus.isLoading || streamStatus.isLoading) {
if (itemStatus.isLoading || streamStatus.isLoading || !item || !stream) {
return (
<View className='w-screen h-screen flex flex-col items-center justify-center bg-black'>
<Loader />