diff --git a/front/packages/ui/src/components/media-info.tsx b/front/packages/ui/src/components/media-info.tsx
index 53209f72..06a36390 100644
--- a/front/packages/ui/src/components/media-info.tsx
+++ b/front/packages/ui/src/components/media-info.tsx
@@ -22,8 +22,9 @@ import { Audio, Subtitle, WatchInfo, WatchInfoP } from "@kyoo/models";
import { Button, HR, P, Popup, Skeleton } from "@kyoo/primitives";
import { Fetch } from "../fetch";
import { useTranslation } from "react-i18next";
-import { View } from "react-native";
-import { useYoshiki } from "yoshiki/native";
+import { ScrollView, View } from "react-native";
+import { percent, px, useYoshiki } from "yoshiki/native";
+import { Fragment } from "react";
const MediaInfoTable = ({
mediaInfo: { path, video, container, audios, subtitles, duration },
@@ -81,8 +82,8 @@ const MediaInfoTable = ({
{table.map((g) =>
Object.entries(g).map(([label, value], index, l) => (
- <>
-
+
+
{label}
@@ -91,7 +92,7 @@ const MediaInfoTable = ({
{index == l.length - 1 &&
}
- >
+
)),
)}
@@ -107,17 +108,20 @@ export const MediaInfoPopup = ({
mediaType: "episode" | "movie";
mediaSlug: string;
}) => {
+ const y = useYoshiki();
const mediaInfoQuery = {
path: ["video", mediaType, mediaSlug, "info"],
parser: WatchInfoP,
};
return (
- {({ css }) => (
+ {() => (
<>
-
- {(mediaInfo) => }
-
+
+
+ {(mediaInfo) => }
+
+